#797D5D#797D5D
#797D5D is a mid, muted yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.047 H 113.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #797D5D |
|---|---|
| RGB | rgb(121, 125, 93) |
| HSL | hsl(68, 15%, 43%) |
| HSV | hsv(68, 26%, 49%) |
| CMYK | cmyk(3.2%, 0%, 25.6%, 51%) |
| CIE-LAB | lab(51.29, -7.27, 17.00) |
| CIE-LCH | lch(51.29, 18.49, 113.17°) |
| OKLab | oklab(57.75% -0.0188 0.043) |
| OKLCH | oklch(57.75% 0.047 113.7) |
| XYZ | xyz(17.1945, 19.5226, 13.2162) |
| Luminance | 0.1952 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 7.40
Drab
#828344
ΔE00 8.13
Military Green
#667C3E
ΔE00 8.94
Olive Drab
#6F7632
ΔE00 9.45
Green Grey
#77926F
ΔE00 9.70
Camo
#7F8F4E
ΔE00 9.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797D5D #615D7D
analogous
#7D715D #797D5D #697D5D
triadic
#797D5D #5D797D #7D5D79
tetradic
#797D5D #5D7D71 #615D7D #7D5D69
square
#797D5D #5D7D71 #615D7D #7D5D69
split-complementary
#797D5D #5D697D #715D7D
monochromatic
#353729 #575A43 #797D5D #989D7B #B4B79E
Accessibility & contrast
On white
4.28
#797D5D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#797D5D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797D5D
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797D5D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797D5D | 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)
#827A5B
Deuteranopia (green-blind)
#827B5E
Tritanopia (blue-blind)
#7D7974
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #797d5d; /* rgb */ color: rgb(121, 125, 93); /* oklch */ color: oklch(57.8% 0.047 113.7);
Tailwind
colors: {
custom: {
50: '#a0a28b',
500: '#797d5d',
950: '#000000',
},
}SCSS
$custom: #797d5d; $custom-light: #a0a28b; $custom-dark: #000000;
JSON
{
"hex": "#797d5d",
"rgb": {
"r": 121,
"g": 125,
"b": 93
},
"hsl": {
"h": 67.5,
"s": 14.679,
"l": 42.745
},
"oklch": {
"l": 0.57752,
"c": 0.04695,
"h": 113.7
},
"luminance": 0.19522
}Semantic roles & 50–950 ramp
primary
#797D5D
secondary
#9391A5
accent
#70B779
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0F0C
muted
#7E7E7D