#787D37#787D37
#787D37 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.094 H 112.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #787D37 |
|---|---|
| RGB | rgb(120, 125, 55) |
| HSL | hsl(64, 39%, 35%) |
| HSV | hsv(64, 56%, 49%) |
| CMYK | cmyk(4%, 0%, 56%, 51%) |
| CIE-LAB | lab(50.61, -12.38, 36.93) |
| CIE-LCH | lch(50.61, 38.95, 108.53°) |
| OKLab | oklab(57% -0.0361 0.0863) |
| OKLCH | oklch(57% 0.094 112.7) |
| XYZ | xyz(15.7693, 18.9364, 6.4381) |
| Luminance | 0.1894 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 2.98
Drab
#828344
ΔE00 3.21
Khaki Green
#728639
ΔE00 4.70
Dirty Green
#667E2C
ΔE00 5.22
Muddy Green
#657432
ΔE00 5.32
Murky Green
#6C7A0E
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787D37 #3C377D
analogous
#7D5F37 #787D37 #557D37
triadic
#787D37 #37787D #7D3778
tetradic
#787D37 #377D5F #3C377D #7D3755
square
#787D37 #377D5F #3C377D #7D3755
split-complementary
#787D37 #37557D #5F377D
monochromatic
#262812 #4F5224 #787D37 #A1A74A #BAC06F
Accessibility & contrast
On white
4.39
#787D37 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#787D37 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787D37
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787D37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787D37 | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867830
Deuteranopia (green-blind)
#86793B
Tritanopia (blue-blind)
#7F766D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #787d37; /* rgb */ color: rgb(120, 125, 55); /* oklch */ color: oklch(57.0% 0.094 112.7);
Tailwind
colors: {
custom: {
50: '#a1a270',
500: '#787d37',
950: '#000000',
},
}SCSS
$custom: #787d37; $custom-light: #a1a270; $custom-dark: #000000;
JSON
{
"hex": "#787d37",
"rgb": {
"r": 120,
"g": 125,
"b": 55
},
"hsl": {
"h": 64.286,
"s": 38.889,
"l": 35.294
},
"oklch": {
"l": 0.56996,
"c": 0.09358,
"h": 112.7
},
"luminance": 0.18936
}Semantic roles & 50–950 ramp
primary
#787D37
secondary
#6C67A8
accent
#59CF61
background
#FAF9F6
surface
#F3F2EC
border
#CDCCC7
text
#0F0F08
muted
#7F7E7B