#797E4A#797E4A
#797E4A is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.073 H 113.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #797E4A |
|---|---|
| RGB | rgb(121, 126, 74) |
| HSL | hsl(66, 26%, 39%) |
| HSV | hsv(66, 41%, 49%) |
| CMYK | cmyk(4%, 0%, 41.3%, 50.6%) |
| CIE-LAB | lab(51.25, -10.47, 27.66) |
| CIE-LCH | lch(51.25, 29.57, 110.72°) |
| OKLab | oklab(57.6% -0.0289 0.0674) |
| OKLCH | oklch(57.6% 0.073 113.2) |
| XYZ | xyz(16.5822, 19.4813, 9.3640) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.53
Olive Drab
#6F7632
ΔE00 4.93
Military Green
#667C3E
ΔE00 5.47
Khaki Green
#728639
ΔE00 6.00
Muddy Green
#657432
ΔE00 6.25
Swamp
#698339
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E4A #4F4A7E
analogous
#7E694A #797E4A #5F7E4A
triadic
#797E4A #4A797E #7E4A79
tetradic
#797E4A #4A7E69 #4F4A7E #7E4A5F
square
#797E4A #4A7E69 #4F4A7E #7E4A5F
split-complementary
#797E4A #4A5F7E #694A7E
monochromatic
#2F311D #545733 #797E4A #9DA362 #B5BA89
Accessibility & contrast
On white
4.29
#797E4A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#797E4A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E4A
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E4A | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 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)
#857946
Deuteranopia (green-blind)
#857B4C
Tritanopia (blue-blind)
#7F7871
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #797e4a; /* rgb */ color: rgb(121, 126, 74); /* oklch */ color: oklch(57.6% 0.073 113.2);
Tailwind
colors: {
custom: {
50: '#a0a37d',
500: '#797e4a',
950: '#000000',
},
}SCSS
$custom: #797e4a; $custom-light: #a0a37d; $custom-dark: #000000;
JSON
{
"hex": "#797e4a",
"rgb": {
"r": 121,
"g": 126,
"b": 74
},
"hsl": {
"h": 65.769,
"s": 26,
"l": 39.216
},
"oklch": {
"l": 0.57603,
"c": 0.0733,
"h": 113.2
},
"luminance": 0.19481
}Semantic roles & 50–950 ramp
primary
#797E4A
secondary
#827EA6
accent
#65C26E
background
#F9FAF7
surface
#F2F3EE
border
#CCCDC9
text
#0F0F0A
muted
#7E7F7C