#787D33#787D33
#787D33 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.098 H 112.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #787D33 |
|---|---|
| RGB | rgb(120, 125, 51) |
| HSL | hsl(64, 42%, 35%) |
| HSV | hsv(64, 59%, 49%) |
| CMYK | cmyk(4%, 0%, 59.2%, 51%) |
| CIE-LAB | lab(50.57, -12.73, 38.86) |
| CIE-LCH | lch(50.57, 40.90, 108.14°) |
| OKLab | oklab(56.95% -0.0376 0.09) |
| OKLCH | oklch(56.95% 0.098 112.7) |
| XYZ | xyz(15.6772, 18.8996, 5.9535) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.12
Drab
#828344
ΔE00 3.57
Khaki Green
#728639
ΔE00 4.76
Murky Green
#6C7A0E
ΔE00 4.78
Olive (survey)
#6E750E
ΔE00 4.97
Dirty Green
#667E2C
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787D33 #38337D
analogous
#7D5D33 #787D33 #537D33
triadic
#787D33 #33787D #7D3378
tetradic
#787D33 #337D5D #38337D #7D3353
square
#787D33 #337D5D #38337D #7D3353
split-complementary
#787D33 #33537D #5D337D
monochromatic
#252610 #4E5221 #787D33 #A2A845 #BCC269
Accessibility & contrast
On white
4.39
#787D33 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#787D33 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787D33
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787D33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787D33 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86772B
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#80766D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #787d33; /* rgb */ color: rgb(120, 125, 51); /* oklch */ color: oklch(56.9% 0.098 112.7);
Tailwind
colors: {
custom: {
50: '#a1a26e',
500: '#787d33',
950: '#000000',
},
}SCSS
$custom: #787d33; $custom-light: #a1a26e; $custom-dark: #000000;
JSON
{
"hex": "#787d33",
"rgb": {
"r": 120,
"g": 125,
"b": 51
},
"hsl": {
"h": 64.054,
"s": 42.045,
"l": 34.51
},
"oklch": {
"l": 0.56947,
"c": 0.0975,
"h": 112.7
},
"luminance": 0.18899
}Semantic roles & 50–950 ramp
primary
#787D33
secondary
#6762AA
accent
#56D25E
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F07
muted
#7F7E7A