#797F4E#797F4E
#797F4E is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.9% C 0.070 H 114.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #797F4E |
|---|---|
| RGB | rgb(121, 127, 78) |
| HSL | hsl(67, 24%, 40%) |
| HSV | hsv(67, 39%, 50%) |
| CMYK | cmyk(4.7%, 0%, 38.6%, 50.2%) |
| CIE-LAB | lab(51.60, -10.51, 25.91) |
| CIE-LCH | lch(51.60, 27.96, 112.09°) |
| OKLab | oklab(57.91% -0.0287 0.0636) |
| OKLCH | oklch(57.91% 0.07 114.3) |
| XYZ | xyz(16.8498, 19.7939, 10.1392) |
| Luminance | 0.1979 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.09
Military Green
#667C3E
ΔE00 5.61
Olive Drab
#6F7632
ΔE00 5.73
Khaki Green
#728639
ΔE00 6.31
Camo
#7F8F4E
ΔE00 6.40
Swamp
#698339
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797F4E #544E7F
analogous
#7F6C4E #797F4E #607F4E
triadic
#797F4E #4E797F #7F4E79
tetradic
#797F4E #4E7F6C #544E7F #7F4E60
square
#797F4E #4E7F6C #544E7F #7F4E60
split-complementary
#797F4E #4E607F #6C4E7F
monochromatic
#31331F #555937 #797F4E #9BA268 #B4BA8E
Accessibility & contrast
On white
4.23
#797F4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#797F4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797F4E
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797F4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797F4E | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867A4A
Deuteranopia (green-blind)
#857C50
Tritanopia (blue-blind)
#7E7A73
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #797f4e; /* rgb */ color: rgb(121, 127, 78); /* oklch */ color: oklch(57.9% 0.070 114.3);
Tailwind
colors: {
custom: {
50: '#a0a480',
500: '#797f4e',
950: '#000000',
},
}SCSS
$custom: #797f4e; $custom-light: #a0a480; $custom-dark: #000000;
JSON
{
"hex": "#797f4e",
"rgb": {
"r": 121,
"g": 127,
"b": 78
},
"hsl": {
"h": 67.347,
"s": 23.902,
"l": 40.196
},
"oklch": {
"l": 0.57909,
"c": 0.06975,
"h": 114.3
},
"luminance": 0.19794
}Semantic roles & 50–950 ramp
primary
#797F4E
secondary
#8783A6
accent
#67C072
background
#F9FAF7
surface
#F2F4EE
border
#CCCEC9
text
#0F0F0A
muted
#7E7F7C