#797A4E#797A4E
#797A4E is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.7% C 0.063 H 109.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #797A4E |
|---|---|
| RGB | rgb(121, 122, 78) |
| HSL | hsl(61, 22%, 39%) |
| HSV | hsv(61, 36%, 48%) |
| CMYK | cmyk(0.8%, 0%, 36.1%, 52.2%) |
| CIE-LAB | lab(50.14, -7.74, 24.01) |
| CIE-LCH | lch(50.14, 25.23, 107.87°) |
| OKLab | oklab(56.74% -0.0208 0.0592) |
| OKLCH | oklch(56.74% 0.063 109.4) |
| XYZ | xyz(16.2200, 18.5343, 9.9293) |
| Luminance | 0.1853 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 5.32
Olive Drab
#6F7632
ΔE00 5.95
Military Green
#667C3E
ΔE00 7.04
Muddy Green
#657432
ΔE00 7.16
Brown Grey
#8D8468
ΔE00 8.41
Khaki Green
#728639
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797A4E #4F4E7A
analogous
#7A654E #797A4E #637A4E
triadic
#797A4E #4E797A #7A4E79
tetradic
#797A4E #4E7A65 #4F4E7A #7A4E63
square
#797A4E #4E7A65 #4F4E7A #7A4E63
split-complementary
#797A4E #4E637A #654E7A
monochromatic
#2F2F1E #545536 #797A4E #9D9E67 #B5B68D
Accessibility & contrast
On white
4.46
#797A4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#797A4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797A4E
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797A4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797A4E | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81764B
Deuteranopia (green-blind)
#817850
Tritanopia (blue-blind)
#7F756F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #797a4e; /* rgb */ color: rgb(121, 122, 78); /* oklch */ color: oklch(56.7% 0.063 109.4);
Tailwind
colors: {
custom: {
50: '#a0a080',
500: '#797a4e',
950: '#000000',
},
}SCSS
$custom: #797a4e; $custom-light: #a0a080; $custom-dark: #000000;
JSON
{
"hex": "#797a4e",
"rgb": {
"r": 121,
"g": 122,
"b": 78
},
"hsl": {
"h": 61.364,
"s": 22,
"l": 39.216
},
"oklch": {
"l": 0.56743,
"c": 0.06274,
"h": 109.4
},
"luminance": 0.18534
}Semantic roles & 50–950 ramp
primary
#797A4E
secondary
#8281A3
accent
#69BF6B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E0A
muted
#7E7E7C