#797E56#797E56
#797E56 is a mid, muted yellow. Relative luminance 0.197; OKLCH L 57.8% C 0.058 H 114.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #797E56 |
|---|---|
| RGB | rgb(121, 126, 86) |
| HSL | hsl(68, 19%, 42%) |
| HSV | hsv(68, 32%, 49%) |
| CMYK | cmyk(4%, 0%, 31.7%, 50.6%) |
| CIE-LAB | lab(51.45, -8.87, 21.21) |
| CIE-LCH | lch(51.45, 22.99, 112.71°) |
| OKLab | oklab(57.83% -0.0236 0.0529) |
| OKLCH | oklch(57.83% 0.058 114) |
| XYZ | xyz(17.0257, 19.6587, 11.6999) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 6.03
Military Green
#667C3E
ΔE00 7.05
Olive Drab
#6F7632
ΔE00 7.49
Camo
#7F8F4E
ΔE00 7.95
Muddy Green
#657432
ΔE00 8.21
Brown Grey
#8D8468
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E56 #5B567E
analogous
#7E6F56 #797E56 #657E56
triadic
#797E56 #56797E #7E5679
tetradic
#797E56 #567E6F #5B567E #7E5665
square
#797E56 #567E6F #5B567E #7E5665
split-complementary
#797E56 #56657E #6F567E
monochromatic
#333524 #565A3D #797E56 #999F72 #B4B897
Accessibility & contrast
On white
4.26
#797E56 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#797E56 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E56
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E56 | 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)
#847A53
Deuteranopia (green-blind)
#837B58
Tritanopia (blue-blind)
#7E7A74
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #797e56; /* rgb */ color: rgb(121, 126, 86); /* oklch */ color: oklch(57.8% 0.058 114.0);
Tailwind
colors: {
custom: {
50: '#a0a386',
500: '#797e56',
950: '#000000',
},
}SCSS
$custom: #797e56; $custom-light: #a0a386; $custom-dark: #000000;
JSON
{
"hex": "#797e56",
"rgb": {
"r": 121,
"g": 126,
"b": 86
},
"hsl": {
"h": 67.5,
"s": 18.868,
"l": 41.569
},
"oklch": {
"l": 0.57832,
"c": 0.05794,
"h": 114
},
"luminance": 0.19659
}Semantic roles & 50–950 ramp
primary
#797E56
secondary
#8E8AA6
accent
#6CBC76
background
#F9FAF8
surface
#F2F3EF
border
#CCCDCA
text
#0F0F0B
muted
#7E7F7C