🔄

RGB to Grayscale Converter (ITU-R BT.601, BT.709 & Luminance

Conversion Free Instant Private
Conversion

### RGB to Grayscale, ITU-R Recommendations & Photopic Human Vision Converting 3-channel RGB color into single-channel luminance (grayscale) accounts for human eye spectral sensitivity: - **1.

Reviewed by Sheraz Share · BSCS
Last updated:
Editorial Guidelines

⚙ Input Values

R
G
B

📊 Results

HDTV / sRGB Standard (ITU-R BT.709)
#606060 (RGB 96, 96, 96)
HEX
SDTV / JPEG Standard (ITU-R BT.601)
#606060 (RGB 96, 96, 96)
HEX
Unweighted Average Grayscale
#7C7C7C (RGB 124, 124, 124)
HEX
Perceived Brightness (BT.709 %)
37.65
%
Photometric HSP Brightness (0-255)
112
val
✦ Photometry & Colorimetry Processing Summary
Grayscale Conversion Profile (#2563EB / RGB(37, 99, 235)): Modern HDTV BT.709 Grayscale = #606060 (96/255 ≡ 37.6% Brightness). Classic NTSC/JPEG BT.601 = #606060 (96/255). Simple Average = #7C7C7C (124/255). Photometric HSP Value = 112/255. Human Photopic Vision Principle: The human eye has far higher density of green-sensitive cone photoreceptors than blue or red. Consequently, international color standards weight Green heavily (71.5% in BT.709, 58.7% in BT.601) and Blue minimally (7.2% in BT.709, 11.4% in BT.601).
Embed on Your Website

Copy and paste this code into your website.

<iframe src="https://calcusolve.com/converter/rgb-to-grayscale?embed=true" width="100%" height="600" frameborder="0" loading="lazy" title="RGB to Grayscale Converter (ITU-R BT.601, BT.709 & Luminance"></iframe>

📐 Formula

Formula Reference: RGB to Grayscale Converter (ITU-R BT.601, BT.709 & Luminance)
Input variables:
redChannelInput — Red Channel (R: 0 to 255)
greenChannelInput — Green Channel (G: 0 to 255)
blueChannelInput — Blue Channel (B: 0 to 255)
Computed outputs:
bt709HdtvGrayscaleHex — HDTV / sRGB Standard (ITU-R BT.709)
bt601NtscGrayscaleHex — SDTV / JPEG Standard (ITU-R BT.601)
averageGrayscaleHex — Unweighted Average Grayscale
relativeLuminancePercentage — Perceived Brightness (BT.709 %)
photometricHspBrightnessValue — Photometric HSP Brightness (0-255)
Mathematical relationships extracted from calculation logic:
y709 = Math.round(0.2126 * r + 0.7152 * g + 0.0722 * b)
y601 = Math.round(0.299 * r + 0.587 * g + 0.114 * b)
yAvg = Math.round((r + g + b) / 3)
hsp = Math.round(Math.sqrt(0.299 * r * r + 0.587 * g * g + 0.114 * b * b))
pct709 = safeDiv(y709, 255) * 100.0
Standard: NIST Handbook 44 and BIPM SI unit definitions

💡 Practical Example

✅

A computer vision engineer converting an RGB image matrix into an 8-bit grayscale array applies the BT.709 formula Y = 0.2126R + 0.7152G + 0.0722B, ensuring the resulting monochrome representation accurately mirrors human perceptual brightness.

📖 About RGB to Grayscale Converter (ITU-R BT.601, BT.709 & Luminance

RGB to Grayscale, ITU-R Recommendations & Photopic Human Vision

Converting 3-channel RGB color into single-channel luminance (grayscale) accounts for human eye spectral sensitivity:

  • **
  • Universal Grayscale Formulas**:
  • ITU-R BT.709 (Modern HDTV, sRGB, Web Standard):

Y = 0.2126 · R + 0.7152 · G + 0.0722 · B

  • ITU-R BT.601 (Classic NTSC, PAL, JPEG):

Y = 0.2990 · R + 0.5870 · G + 0.1140 · B

  • Simple Unweighted Average:

Y = (R + G + B) / (3)

  • Photometric HSP Model:

P = √(0.299 R^2 + 0.587 G^2 + 0.114 B^2)

  • **
  • Why Green is Weighted Most Heavily (~71.5%)**:
  • Human retinal cone cells are predominantly sensitive to mid-spectrum wavelengths (green-yellow light around 555 nm).
  • Pure Green (0, 255, 0) appears significantly brighter (71.5\%) than pure Red (21.3\%) or pure Blue (7.2\%) to human perception.

How to Use This Calculator

Enter your Red Channel (R: 0 to 255) (e.g. 37 in R), Green Channel (G: 0 to 255) (e.g. 99 in G), Blue Channel (B: 0 to 255) (e.g. 235 in B), and Color Benchmark — choose from Custom RGB Values, Pure Green (0, 255, 0) → 58.7% BT.601 / 71.5% BT.709, Pure Red (255, 0, 0) → 29.9% BT.601 / 21.3% BT.

  • Results update instantly as you type — adjust any value to compare scenarios.

The Formula

Formula Reference: RGB to Grayscale Converter (ITU-R BT.601, BT.709 & Luminance)

Input variables:

redChannelInput — Red Channel (R: 0 to 255)

greenChannelInput — Green Channel (G: 0 to 255)

blueChannelInput — Blue Channel (B: 0 to 255)

Computed outputs:

bt709HdtvGrayscaleHex — HDTV / sRGB Standard (ITU-R BT.709)

bt601NtscGrayscaleHex — SDTV / JPEG Standard (ITU-R BT.601)

averageGrayscaleHex — Unweighted Average Grayscale

relativeLuminancePercentage — Perceived Brightness (BT.709 %)

photometricHspBrightnessValue — Photometric HSP Brightness (0-255)

Mathematical relationships extracted from calculation logic:

y709 = Math.round(0.2126 r + 0.7152 g + 0.0722 * b)

y601 = Math.round(0.299 r + 0.587 g + 0.114 * b)

yAvg = Math.round((r + g + b) / 3)

hsp = Math.round(Math.sqrt(0.299 r r + 0.587 g g + 0.114 b b))

pct709 = safeDiv(y709, 255) * 100.0

Standard: NIST Handbook 44 and BIPM SI unit definitions

Worked Example

A computer vision engineer converting an RGB image matrix into an 8-bit grayscale array applies the BT.709 formula Y = 0.2126R + 0.7152G + 0.0722B, ensuring the resulting monochrome representation accurately mirrors human perceptual brightness.

Understanding Your Result

Unit conversion precision: round to the same number of significant figures as your original measurement. Converting 6 feet to meters gives 1.8288 m — but if your measurement was approximate (±1 inch), expressing more than 2 decimal places is false precision. For international trade and technical specifications, SI units (meters, kilograms, liters) are the standard. US customary units (feet, pounds, gallons) differ from Imperial UK units: 1 US gallon = 3.785 L vs. 1 UK gallon = 4.546 L.

💡 Methodological Standards & Calculation Accuracy

  • All calculations are performed client-side in your browser using verified, standards-compliant mathematical algorithms.
  • Results are provided for educational and informational analysis; verify critical applications with certified domain specialists.
  • Ensure input values are entered in consistent units matching the selector options to guarantee accurate outputs.
  • Periodic recalibration is recommended whenever baseline assumptions, operating parameters, or external conditions change.

Results are for informational and educational purposes only. Always verify critical decisions with a qualified professional.

❓ Frequently Asked Questions

What is the standard formula to convert RGB to Grayscale?

The modern standard formula is: Y = 0.2126 × R + 0.7152 × G + 0.0722 × B. For legacy JPEG and NTSC video, ITU-R BT.601 is used: Y = 0.299 × R + 0.587 × G + 0.114 × B.

Why not just take the simple average/3?

A simple unweighted average treats all three colors equally. However, the human eye is far more sensitive to green than blue. Using/3 makes green images look too dark and blue images look unnaturally bright.

What grayscale value does pure red, green, and blue produce?

Under BT.709: Pure Green (0, 255, 0) gives Y = 182 (71.5%). Pure Red (255, 0, 0) gives Y = 54 (21.3%). Pure Blue (0, 0, 255) gives Y = 18 (7.2%).

What is the difference between BT.601 and BT.709?

BT.601 was developed for standard-definition cathode-ray tube (CRT) televisions with older phosphor chemistry. BT.709 was developed for modern HDTV liquid-crystal displays (LCD) and the sRGB computer color space.

How do you write a grayscale value in HEX format?

In grayscale, all three color channels (R, G, B) are identical. Take the calculated luminance Y, convert it to a 2-digit hexadecimal number, and repeat it three times: #606060.

Try Other Calculators