Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk4 min

YUV to RGB Conversion Formulas: BT.601, BT.709, and Video Range

There is no universal YUV-to-RGB equation: match the matrix, range, bit depth, and signal format. Here are the normalized formulas and 8-bit limited-range BT.601 equations.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

There is no single universal YUV-to-RGB formula. For digital video, the conversion is usually between nonlinear R′G′B′ and Y′CbCr, and its coefficients depend on the matrix (such as BT.601 or BT.709) and whether the samples use full or limited range. Identify those settings before applying a formula; otherwise, the result can have incorrect brightness or color.

What “YUV to RGB” means in digital video

YUV is the historical analog color-difference representation. Digital video commonly uses Y′CbCr, which represents luma and color differences using scaled and offset values. People often say “YUV” when they mean digital Y′CbCr, but the distinction matters when choosing equations.

As an Amazon Associate I earn from qualifying purchases.

The prime in Y′ indicates a nonlinear signal. The usual video matrix equations use nonlinear R′G′B′ values—not linear-light RGB. A matrix conversion alone also does not change color primaries or perform transfer-function conversion. If those changes are required, they are separate processing steps. See Microsoft’s overview of YUV video and the Khronos YUV conversion description.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose the matrix and range first

The normalized equations use matrix coefficients Kr and Kb, with Kg = 1 − Kr − Kb:

#1 Best Overall
Tengchi RCA to HDMI Converter, AV to HDMI Adapter
  • RCA Female to HDMI Video Converters Adapter : The cable is used to convert analog composite input to HDMI 1080p output, displayed on a 1080p HD TV/TV/monitor.
  • Input ports: 1xRCA Female (Yellow, White, Red), Output ports: 1xHDMI 1.3 1080p. NOT support 3D and 4K, NOT support HDMI Converts to AV
  • AV to HDMI Converter: Plug and Play, Easy to Install and Operate, Powered by External USB Cable. Note: Please hook up the USB power cable (included) to 5V 1Apower source during use (not included power supply ).
  • Support PAL, NTSC3.58, NTSC4.43, SECAM, PAL/M, PAL/N standard TV formats input. For PS2,PS3,Xbox,N64,STB, VHS, VCR, DVD Players and other devices with standard composite AV input.
  • You Will Get : 1x RCA Female TO HDMI Converter, 1xHDMI cable, 1xUSB cable, 1xUser Manual. ONE YEAR WARRANTY - if you are not satisfied for any reason whatsoever, do not hesitate to contact us .
  • BT.601: Kr = 0.299, Kg = 0.587, Kb = 0.114.
  • BT.709: Kr = 0.2126, Kg = 0.7152, Kb = 0.0722.
  • BT.2020 non-constant-luminance: example coefficients are Kr = 0.2627, Kg = 0.6780, Kb = 0.0593.

These values are documented by Microsoft and the Linux 4.9 colorspace documentation; implementation references such as libyuv’s format documentation also provide matrix and range-specific coefficients. Integer constants in software may be fixed-point approximations rather than universal exact values.

For 8-bit limited-range video, nominal luma uses codes 16–235, chroma uses 16–240, and neutral chroma is 128. Full-range formats use different offsets and scaling. At bit depth M, nominal studio-range offsets and spans scale by 2(M−8). State the bit depth and range when sharing code values; normalized components and integer code values cannot be substituted for one another without scaling.

Normalized RGB-to-Y′CbCr equations

For nonlinear R′, G′, and B′ normalized to [0,1], calculate luma and normalized chroma differences as follows:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
YPbPr to HDMI Converter, Component to HDMI, RGB to HDMI Converter Supports Video Audio Converter Adapter HDMI V1.4 for DVD PSP Xbox 360 PS2 Nintendo to HDTV Monitor and Projector
  • This Component (input) to HDMI(output) converter convert analog YPbPr video and R/L audio signal to HDMI output, enables you to connect your old DVD players and Sat boxes as well as consoles such as Xbox one to your new HDMI Display. Please Note:This product is Component to HDMI Converter, not HDMI to Component Converter, it can not be reversed to use. And make sure your device has YPbPr interface output, not RCA interface.
  • Display component Video sources to your HDMI HDTVs and A/V receivers. Component Video Resolutions supported: 480i/p(60Hz), 576i/p(50Hz), 720p(50/60Hz), 1080i/p(50/60Hz). Supports HDMI Output: 480P, 576P, 720P/60Hz, 1080P/60Hz.
  • Compliant with HDMI V1.4, it supports HDCP 1.4. It allows older analog devices to be integrated seamlessly into the modern home theater and users to enjoy larger images and videos on the monitors they need.
  • Converts Component and analogue audio signals into a HDMI signal. This is a YPbPr Component 5RCA RGB to 1080P HDMI Converter . If you use it wrong, you cann't get any signal.
  • Anber-Tech Products Use friendly, Install in seconds, No need of setting, it can not be reverse to use. If you encounter product quality problems, Please first inform us that you will be compensated within 24 hours.
  1. Y′ = KrR′ + KgG′ + KbB′
  2. Cb = (B′ − Y′) / (2(1 − Kb))
  3. Cr = (R′ − Y′) / (2(1 − Kr))

For 8-bit limited-range code values, map normalized luma and chroma to their nominal code ranges:

  • Ycode = 16 + 219Y′
  • Cbcode = 128 + 224Cb
  • Crcode = 128 + 224Cr

Use the coefficients for the selected matrix. The BT.601 equations below are one specific case, not a generic RGB-to-video conversion.

8-bit limited-range BT.601: RGB to Y′CbCr

For normalized nonlinear RGB, use BT.601 weights Kr = 0.299, Kg = 0.587, and Kb = 0.114 in the normalized equations above, then scale to limited-range code values.

Rank #3
GINGIN AV to HDMI Converter, AV to HDMI Adapter Support 720p/1080p for PS1/PS2/PS3/Xbox 360/WII/N64/SNES/STB/VHS/VCR/Blue-Ray DVD Players
  • Composite to HDMI Converter: Converts analog AV composite (Yellow, White, Red) input to HDMI 720P/1080P (60HZ) output, displayed on smart TV, Projector or HD Display, which bring back your old and cherish memories.
  • Plug to Play: This HDMI Converter no extra drivers need, just plug and play,easy to use. Please hook up the USB Power Cable (included) to 5V power source during use. Note: The Video Converters only support converts AV to HDMI, can't converts HDMI to AV.
  • Widely Used: This composite to hdmi adapter is widely applied to PS1, PS2, PS3, Xbox, N64, Wii, STB, VHS, VCR, DVD Players and other devices with standard composite AV input. Note: It can only be used when PS2 is set to RGB output.
  • Wide Compatibility: This Video Audio Converter Adapter supports source formats of PAL, NTSC3.58, NTSC4.43, SECAM, PAL/M, PAL/N standard TV. Provide advanced signal processing with great precision, colors, resolutions, and details. Important Note: This converter can't improve video quality!
  • Attention & Package: Please ensure to connect this av hdmi converter to power source to make it work. Package include: 1*AV to HDMI Adaptor, 1*USB Power Cable(adapter not included), 1*User Manual.

For 8-bit computer RGB input, Microsoft also gives this approximate fixed-point form:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Y = ((66R + 129G + 25B + 128) >> 8) + 16
  • Cb = ((−38R − 74G + 112B + 128) >> 8) + 128
  • Cr = ((112R − 94G − 18B + 128) >> 8) + 128

Here R, G, and B are 8-bit input values. This shortcut is an approximation specifically for 8-bit BT.601 limited-range output, not a replacement for other matrices, ranges, or bit depths. The equations and code-value conventions are described in Microsoft’s YUV overview and recommended 8-bit YUV formats.

8-bit limited-range BT.601: Y′CbCr to RGB

For 8-bit limited-range BT.601 input, first center the chroma values and remove the luma offset:

Rank #4
GINGIN RCA to HDMI Converter, AV to HDMI Converter for TV/PC/N64/Wii/PS1/PS2/PS3/STB/Xbox/VHS/VCR/Blue-Ray DVD Players, with 3.3ft RCA and HDMI Cables
  • RCA to HDMI Converter: Converts analog RCA composite (Yellow, White, Red) input to HDMI 720P/1080P (60HZ) output, displayed on smart TV, projector and HDTV monitor. Making video come alive, giving the most realistic HD visual experience. Important Note: RCA inputs for HDMI output only!
  • Easy to Use: GINGIN Mini RCA to HDMI Adapter need no extra driver, portable, flexible, just plug and play. Please hook up the USB power cable (included) to 5V 1A power adapter during use.
  • Widely Used: This AV to HDMI Adapter is widely applied to PS1, PS2, PS3, Xbox, N64, WII, STB, VHS, VCR, DVD Players and other devices with standard composite AV input.
  • Broad Compatibility: This Audio Video to HDMI Converter supports source formats of PAL, NTSC3.58, NTSC4.43, SECAM, PAL/M, PAL/N standard TV. Provide advanced signal processing with great precision, colors, resolutions, and details.
  • Package&After-sales Service: Package Include: 1*CVBS to HDMI Converter, 1*USB Power Cable(2.6ft/0.8m), 1*HDMI Cable(3.3ft/1m), 1*Male RCA Cables(3.3ft/1m), 1*User Manual. We provide 18 months after-sales service and 30 days no hesitate money back.
  • C = Y − 16
  • D = Cb − 128
  • E = Cr − 128

Then calculate each output channel, round, and clip to the 8-bit range [0,255]:

  • R = clip(round(1.164383C + 1.596027E))
  • G = clip(round(1.164383C − 0.391762D − 0.812968E))
  • B = clip(round(1.164383C + 2.017232D))

These coefficients apply to this matrix and range. A full-range input or a different matrix needs its corresponding inverse coefficients. For example, libyuv documents a distinct BT.601 full-range path labeled “JPEG,” as well as limited-range implementations; do not decode limited-range samples with full-range coefficients or vice versa. See Microsoft’s format guidance and libyuv’s implementation reference.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Why the wrong formula causes a color cast

BT.601 and BT.709 use different luma weights, so applying the wrong matrix changes the relationship between luma and the two color-difference channels. Range mismatches cause a different problem: limited-range values interpreted as full range, or the reverse, produce incorrect levels. Check the input format’s metadata or documentation for its matrix and range instead of selecting coefficients by habit.

Best Value
RCA to HDMI Converter,AV to HDMI for Xbox,PS One,PS2,PS3,N64,Wii,VCR,VHS,STB,Blue-Ray DVD Players,TV, Support 720p,1080p
  • AV to HDMI Converter: Converts analog RCA composite (Yellow, White, Red) input to HDMI 720P/1080P output, displayed on HDTV/Monitor, which bring back your old and cherish memories. Notice: NOT support HDMI Converts to RCA.
  • RCA to HDMI Converter Kit: Contain all necessary cables you need, such as Male RCA cable, HDMI cable and micro USB Power cable, no need to buy extra cable, more convenient to use. In addition, cables can be detached for other uses. Easier to use and more cost-effective.
  • Widely Used: Widely applied to PSOne, PS2, PS3, Xbox, N64, Wii, SNES, STB, VHS, VCR, DVD Players and other devices with standard composite AV input. Support PAL, NTSC3.58, NTSC4.43, SECAM, PAL/M, PAL/N standard TV formats input.
  • Plug to Play: Setuact RCA to HDMI Adapter, no extra drivers need, just plug and play, easy to use. Please hook up the USB power cable (included) to 5V power source during use the Composite to HDMI Converter.
  • Package&After-sales Service: Package Include: 1*RCA to HDMI Converter, 1*RCA Cable(3.3ft/1m), 1*HDMI Cable(3.3ft/1m), 1*USB Power Cable(2.6ft/0.8m), (adapter not included), 1*User Manual. We provide 18 months after-sales service quality guarantee, 24h friendly customer service.

Nominal ranges describe the usual coding intervals, not a guarantee that every valid signal sample stays inside them; formats and formulas may allow headroom or footroom values. Avoid automatically clamping input components to nominal limits unless the relevant format or processing step calls for it.

Chroma subsampling is a separate conversion step

Formats such as 4:2:2 and 4:2:0 store fewer chroma samples than luma samples. The conversion matrix still relates component values, but the missing chroma positions must be reconstructed with the correct sample placement before or during RGB conversion. Microsoft recommends converting 4:2:0 or 4:2:2 to 4:4:4 and then to RGB in its YUV video guidance.

RGB-to-Y′CbCr conversion does not itself reduce data size. Space savings come from chroma subsampling. Likewise, a BT.601-to-BT.709 change may require more than changing luma coefficients: if the source and destination primaries differ, a separate primary-conversion operation may be needed.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Checklist before applying a formula

  • Confirm whether the format is digital Y′CbCr, even if software or documentation casually calls it YUV.
  • Identify the matrix family: BT.601, BT.709, BT.2020, or another specified matrix.
  • Identify full versus limited range and the bit depth.
  • Confirm the direction of conversion and whether the input values are normalized components or integer code values.
  • Use nonlinear R′G′B′ for the matrix equations; handle transfer functions and primary changes separately when required.
  • For subsampled input, account for chroma reconstruction and sample placement.

For conformance work, consult the applicable current standard and format specification. The Linux reference linked above is specifically version 4.9, and implementation formulas should be treated as implementation guidance rather than proof of conformance to a complete standard.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.