#787F4E#787F4E
#787F4E is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.8% C 0.070 H 115.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #787F4E |
|---|---|
| RGB | rgb(120, 127, 78) |
| HSL | hsl(69, 24%, 40%) |
| HSV | hsv(69, 39%, 50%) |
| CMYK | cmyk(5.5%, 0%, 38.6%, 50.2%) |
| CIE-LAB | lab(51.52, -10.94, 25.78) |
| CIE-LCH | lch(51.52, 28.01, 112.99°) |
| OKLab | oklab(57.82% -0.0299 0.0633) |
| OKLCH | oklch(57.82% 0.07 115.3) |
| XYZ | xyz(16.7103, 19.7220, 10.1327) |
| Luminance | 0.1972 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.30
Military Green
#667C3E
ΔE00 5.34
Olive Drab
#6F7632
ΔE00 5.72
Khaki Green
#728639
ΔE00 6.20
Camo
#7F8F4E
ΔE00 6.35
Swamp
#698339
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787F4E #554E7F
analogous
#7F6D4E #787F4E #607F4E
triadic
#787F4E #4E787F #7F4E78
tetradic
#787F4E #4E7F6D #554E7F #7F4E60
square
#787F4E #4E7F6D #554E7F #7F4E60
split-complementary
#787F4E #4E607F #6D4E7F
monochromatic
#30331F #545937 #787F4E #9AA268 #B3BA8E
Accessibility & contrast
On white
4.25
#787F4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#787F4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787F4E
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787F4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787F4E | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857A4A
Deuteranopia (green-blind)
#857B50
Tritanopia (blue-blind)
#7D7A73
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #787f4e; /* rgb */ color: rgb(120, 127, 78); /* oklch */ color: oklch(57.8% 0.070 115.3);
Tailwind
colors: {
custom: {
50: '#a0a480',
500: '#787f4e',
950: '#000000',
},
}SCSS
$custom: #787f4e; $custom-light: #a0a480; $custom-dark: #000000;
JSON
{
"hex": "#787f4e",
"rgb": {
"r": 120,
"g": 127,
"b": 78
},
"hsl": {
"h": 68.571,
"s": 23.902,
"l": 40.196
},
"oklch": {
"l": 0.57824,
"c": 0.06999,
"h": 115.3
},
"luminance": 0.19722
}Semantic roles & 50–950 ramp
primary
#787F4E
secondary
#8883A6
accent
#67C074
background
#F9FAF7
surface
#F2F4EE
border
#CCCEC9
text
#0F0F0A
muted
#7E7F7C