#797F44#797F44
#797F44 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.082 H 113.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #797F44 |
|---|---|
| RGB | rgb(121, 127, 68) |
| HSL | hsl(66, 30%, 38%) |
| HSV | hsv(66, 46%, 50%) |
| CMYK | cmyk(4.7%, 0%, 46.5%, 50.2%) |
| CIE-LAB | lab(51.45, -11.72, 31.18) |
| CIE-LCH | lch(51.45, 33.31, 110.59°) |
| OKLab | oklab(57.74% -0.0329 0.0749) |
| OKLCH | oklch(57.74% 0.082 113.7) |
| XYZ | xyz(16.5181, 19.6613, 8.3926) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 2.66
Olive Drab
#6F7632
ΔE00 4.19
Khaki Green
#728639
ΔE00 4.76
Military Green
#667C3E
ΔE00 5.12
Swamp
#698339
ΔE00 5.53
Muddy Green
#657432
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797F44 #4A447F
analogous
#7F6744 #797F44 #5B7F44
triadic
#797F44 #44797F #7F4479
tetradic
#797F44 #447F67 #4A447F #7F445B
square
#797F44 #447F67 #4A447F #7F445B
split-complementary
#797F44 #445B7F #67447F
monochromatic
#2D2F19 #53572F #797F44 #9FA65A #B6BC82
Accessibility & contrast
On white
4.26
#797F44 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#797F44 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797F44
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797F44 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797F44 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877A3F
Deuteranopia (green-blind)
#867B47
Tritanopia (blue-blind)
#7F7971
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #797f44; /* rgb */ color: rgb(121, 127, 68); /* oklch */ color: oklch(57.7% 0.082 113.7);
Tailwind
colors: {
custom: {
50: '#a1a479',
500: '#797f44',
950: '#000000',
},
}SCSS
$custom: #797f44; $custom-light: #a1a479; $custom-dark: #000000;
JSON
{
"hex": "#797f44",
"rgb": {
"r": 121,
"g": 127,
"b": 68
},
"hsl": {
"h": 66.102,
"s": 30.256,
"l": 38.235
},
"oklch": {
"l": 0.57739,
"c": 0.08185,
"h": 113.7
},
"luminance": 0.19661
}Semantic roles & 50–950 ramp
primary
#797F44
secondary
#7D78A7
accent
#61C66C
background
#FAFAF7
surface
#F3F3ED
border
#CDCDC8
text
#0F0F09
muted
#7F7F7B