#787D29#787D29
#787D29 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 56.8% C 0.106 H 112.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #787D29 |
|---|---|
| RGB | rgb(120, 125, 41) |
| HSL | hsl(64, 51%, 33%) |
| HSV | hsv(64, 67%, 49%) |
| CMYK | cmyk(4%, 0%, 67.2%, 51%) |
| CIE-LAB | lab(50.48, -13.48, 43.40) |
| CIE-LCH | lch(50.48, 45.45, 107.26°) |
| OKLab | oklab(56.84% -0.0408 0.0981) |
| OKLCH | oklch(56.84% 0.106 112.6) |
| XYZ | xyz(15.4800, 18.8207, 4.9147) |
| Luminance | 0.1882 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 3.66
Poop Green
#6F7C00
ΔE00 3.89
Olive (survey)
#6E750E
ΔE00 3.92
Shit Green
#758000
ΔE00 3.93
Olive Drab
#6F7632
ΔE00 3.94
Drab
#828344
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787D29 #2E297D
analogous
#7D5829 #787D29 #4E7D29
triadic
#787D29 #29787D #7D2978
tetradic
#787D29 #297D58 #2E297D #7D294E
square
#787D29 #297D58 #2E297D #7D294E
split-complementary
#787D29 #294E7D #58297D
monochromatic
#20210B #4C4F1A #787D29 #A4AB38 #C2C858
Accessibility & contrast
On white
4.41
#787D29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#787D29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787D29
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787D29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787D29 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86771E
Deuteranopia (green-blind)
#87792F
Tritanopia (blue-blind)
#80756C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #787d29; /* rgb */ color: rgb(120, 125, 41); /* oklch */ color: oklch(56.8% 0.106 112.6);
Tailwind
colors: {
custom: {
50: '#a1a268',
500: '#787d29',
950: '#000000',
},
}SCSS
$custom: #787d29; $custom-light: #a1a268; $custom-dark: #000000;
JSON
{
"hex": "#787d29",
"rgb": {
"r": 120,
"g": 125,
"b": 41
},
"hsl": {
"h": 63.571,
"s": 50.602,
"l": 32.549
},
"oklch": {
"l": 0.56843,
"c": 0.10628,
"h": 112.6
},
"luminance": 0.1882
}Semantic roles & 50–950 ramp
primary
#787D29
secondary
#5A54AE
accent
#4EDA56
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A