#797E4D#797E4D
#797E4D is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.7% C 0.070 H 113.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #797E4D |
|---|---|
| RGB | rgb(121, 126, 77) |
| HSL | hsl(66, 24%, 40%) |
| HSV | hsv(66, 39%, 49%) |
| CMYK | cmyk(4%, 0%, 38.9%, 50.6%) |
| CIE-LAB | lab(51.29, -10.09, 26.06) |
| CIE-LCH | lch(51.29, 27.95, 111.17°) |
| OKLab | oklab(57.66% -0.0276 0.0639) |
| OKLCH | oklch(57.66% 0.07 113.3) |
| XYZ | xyz(16.6857, 19.5227, 9.9090) |
| Luminance | 0.1952 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.06
Olive Drab
#6F7632
ΔE00 5.49
Military Green
#667C3E
ΔE00 5.72
Khaki Green
#728639
ΔE00 6.51
Muddy Green
#657432
ΔE00 6.63
Camo
#7F8F4E
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E4D #524D7E
analogous
#7E6A4D #797E4D #617E4D
triadic
#797E4D #4D797E #7E4D79
tetradic
#797E4D #4D7E6A #524D7E #7E4D61
square
#797E4D #4D7E6A #524D7E #7E4D61
split-complementary
#797E4D #4D617E #6A4D7E
monochromatic
#30321F #555836 #797E4D #9CA266 #B4B98C
Accessibility & contrast
On white
4.28
#797E4D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#797E4D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E4D
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E4D | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857A49
Deuteranopia (green-blind)
#857B4F
Tritanopia (blue-blind)
#7F7972
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #797e4d; /* rgb */ color: rgb(121, 126, 77); /* oklch */ color: oklch(57.7% 0.070 113.3);
Tailwind
colors: {
custom: {
50: '#a0a37f',
500: '#797e4d',
950: '#000000',
},
}SCSS
$custom: #797e4d; $custom-light: #a0a37f; $custom-dark: #000000;
JSON
{
"hex": "#797e4d",
"rgb": {
"r": 121,
"g": 126,
"b": 77
},
"hsl": {
"h": 66.122,
"s": 24.138,
"l": 39.804
},
"oklch": {
"l": 0.57657,
"c": 0.06958,
"h": 113.3
},
"luminance": 0.19522
}Semantic roles & 50–950 ramp
primary
#797E4D
secondary
#8581A6
accent
#67C170
background
#F9FAF7
surface
#F2F3EE
border
#CCCDC9
text
#0F0F0A
muted
#7E7F7C