#797D5C#797D5C
#797D5C is a mid, muted yellow. Relative luminance 0.195; OKLCH L 57.7% C 0.048 H 113.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #797D5C |
|---|---|
| RGB | rgb(121, 125, 92) |
| HSL | hsl(67, 15%, 43%) |
| HSV | hsv(67, 26%, 49%) |
| CMYK | cmyk(3.2%, 0%, 26.4%, 51%) |
| CIE-LAB | lab(51.27, -7.43, 17.54) |
| CIE-LCH | lch(51.27, 19.05, 112.94°) |
| OKLab | oklab(57.73% -0.0193 0.0443) |
| OKLCH | oklch(57.73% 0.048 113.5) |
| XYZ | xyz(17.1505, 19.5050, 12.9845) |
| Luminance | 0.1951 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 7.46
Drab
#828344
ΔE00 7.85
Military Green
#667C3E
ΔE00 8.69
Olive Drab
#6F7632
ΔE00 9.17
Camo
#7F8F4E
ΔE00 9.60
Green Grey
#77926F
ΔE00 9.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797D5C #605C7D
analogous
#7D705C #797D5C #687D5C
triadic
#797D5C #5C797D #7D5C79
tetradic
#797D5C #5C7D70 #605C7D #7D5C68
square
#797D5C #5C7D70 #605C7D #7D5C68
split-complementary
#797D5C #5C687D #705C7D
monochromatic
#353628 #575A42 #797D5C #989D79 #B4B79D
Accessibility & contrast
On white
4.28
#797D5C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#797D5C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797D5C
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797D5C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797D5C | 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)
#827A5A
Deuteranopia (green-blind)
#827B5D
Tritanopia (blue-blind)
#7D7974
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #797d5c; /* rgb */ color: rgb(121, 125, 92); /* oklch */ color: oklch(57.7% 0.048 113.5);
Tailwind
colors: {
custom: {
50: '#a0a28a',
500: '#797d5c',
950: '#000000',
},
}SCSS
$custom: #797d5c; $custom-light: #a0a28a; $custom-dark: #000000;
JSON
{
"hex": "#797d5c",
"rgb": {
"r": 121,
"g": 125,
"b": 92
},
"hsl": {
"h": 67.273,
"s": 15.207,
"l": 42.549
},
"oklch": {
"l": 0.5773,
"c": 0.04832,
"h": 113.5
},
"luminance": 0.19505
}Semantic roles & 50–950 ramp
primary
#797D5C
secondary
#9290A5
accent
#70B879
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0F0B
muted
#7E7E7C