#787D2D#787D2D
#787D2D is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.103 H 112.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #787D2D |
|---|---|
| RGB | rgb(120, 125, 45) |
| HSL | hsl(64, 47%, 33%) |
| HSV | hsv(64, 64%, 49%) |
| CMYK | cmyk(4%, 0%, 64%, 51%) |
| CIE-LAB | lab(50.51, -13.20, 41.64) |
| CIE-LCH | lch(50.51, 43.69, 107.59°) |
| OKLab | oklab(56.88% -0.0396 0.095) |
| OKLCH | oklch(56.88% 0.103 112.6) |
| XYZ | xyz(15.5534, 18.8501, 5.3012) |
| Luminance | 0.1885 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.57
Murky Green
#6C7A0E
ΔE00 4.04
Drab
#828344
ΔE00 4.21
Olive (survey)
#6E750E
ΔE00 4.28
Poop Green
#6F7C00
ΔE00 4.40
Shit Green
#758000
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787D2D #322D7D
analogous
#7D5A2D #787D2D #507D2D
triadic
#787D2D #2D787D #7D2D78
tetradic
#787D2D #2D7D5A #322D7D #7D2D50
square
#787D2D #2D7D5A #322D7D #7D2D50
split-complementary
#787D2D #2D507D #5A2D7D
monochromatic
#22230D #4D501D #787D2D #A3AA3D #BFC55F
Accessibility & contrast
On white
4.40
#787D2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#787D2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787D2D
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787D2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787D2D | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867723
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#80766C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #787d2d; /* rgb */ color: rgb(120, 125, 45); /* oklch */ color: oklch(56.9% 0.103 112.6);
Tailwind
colors: {
custom: {
50: '#a1a26a',
500: '#787d2d',
950: '#000000',
},
}SCSS
$custom: #787d2d; $custom-light: #a1a26a; $custom-dark: #000000;
JSON
{
"hex": "#787d2d",
"rgb": {
"r": 120,
"g": 125,
"b": 45
},
"hsl": {
"h": 63.75,
"s": 47.059,
"l": 33.333
},
"oklch": {
"l": 0.56882,
"c": 0.10295,
"h": 112.6
},
"luminance": 0.1885
}Semantic roles & 50–950 ramp
primary
#787D2D
secondary
#5F5AAC
accent
#51D759
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F07
muted
#7F7E7A