#797E5D#797E5D
#797E5D is a mid, muted yellow. Relative luminance 0.198; OKLCH L 58.0% C 0.048 H 114.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #797E5D |
|---|---|
| RGB | rgb(121, 126, 93) |
| HSL | hsl(69, 15%, 43%) |
| HSV | hsv(69, 26%, 49%) |
| CMYK | cmyk(4%, 0%, 26.2%, 50.6%) |
| CIE-LAB | lab(51.58, -7.83, 17.39) |
| CIE-LCH | lch(51.58, 19.08, 114.24°) |
| OKLab | oklab(57.98% -0.0204 0.044) |
| OKLCH | oklch(57.98% 0.048 114.9) |
| XYZ | xyz(17.3217, 19.7771, 13.2586) |
| Luminance | 0.1978 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 7.65
Drab
#828344
ΔE00 7.89
Military Green
#667C3E
ΔE00 8.61
Green Grey
#77926F
ΔE00 9.19
Olive Drab
#6F7632
ΔE00 9.33
Camo
#7F8F4E
ΔE00 9.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E5D #625D7E
analogous
#7E725D #797E5D #687E5D
triadic
#797E5D #5D797E #7E5D79
tetradic
#797E5D #5D7E72 #625D7E #7E5D68
square
#797E5D #5D7E72 #625D7E #7E5D68
split-complementary
#797E5D #5D687E #725D7E
monochromatic
#353829 #575B43 #797E5D #989D7B #B4B79E
Accessibility & contrast
On white
4.24
#797E5D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#797E5D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E5D
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E5D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E5D | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837B5B
Deuteranopia (green-blind)
#827B5E
Tritanopia (blue-blind)
#7D7A75
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #797e5d; /* rgb */ color: rgb(121, 126, 93); /* oklch */ color: oklch(58.0% 0.048 114.9);
Tailwind
colors: {
custom: {
50: '#a0a38b',
500: '#797e5d',
950: '#000000',
},
}SCSS
$custom: #797e5d; $custom-light: #a0a38b; $custom-dark: #000000;
JSON
{
"hex": "#797e5d",
"rgb": {
"r": 121,
"g": 126,
"b": 93
},
"hsl": {
"h": 69.091,
"s": 15.068,
"l": 42.941
},
"oklch": {
"l": 0.57984,
"c": 0.04847,
"h": 114.9
},
"luminance": 0.19777
}Semantic roles & 50–950 ramp
primary
#797E5D
secondary
#9491A6
accent
#70B87B
background
#F9FAF8
surface
#F2F3F0
border
#CCCDCB
text
#0E0F0C
muted
#7E7F7D