#797A5D#797A5D
#797A5D is a mid, muted yellow. Relative luminance 0.188; OKLCH L 57.1% C 0.043 H 109.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #797A5D |
|---|---|
| RGB | rgb(121, 122, 93) |
| HSL | hsl(62, 13%, 42%) |
| HSV | hsv(62, 24%, 48%) |
| CMYK | cmyk(0.8%, 0%, 23.8%, 52.2%) |
| CIE-LAB | lab(50.42, -5.59, 15.81) |
| CIE-LCH | lch(50.42, 16.77, 109.46°) |
| OKLab | oklab(57.06% -0.0141 0.0401) |
| OKLCH | oklch(57.06% 0.043 109.3) |
| XYZ | xyz(16.8204, 18.7745, 13.0915) |
| Luminance | 0.1877 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 6.77
Grey Brown
#7F7053
ΔE00 8.38
Brownish Grey
#86775F
ΔE00 8.75
Drab
#828344
ΔE00 9.04
Olive Drab
#6F7632
ΔE00 10.01
Greyish Brown
#7A6A4F
ΔE00 10.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797A5D #5E5D7A
analogous
#7A6D5D #797A5D #6B7A5D
triadic
#797A5D #5D797A #7A5D79
tetradic
#797A5D #5D7A6D #5E5D7A #7A5D6B
square
#797A5D #5D7A6D #5E5D7A #7A5D6B
split-complementary
#797A5D #5D6B7A #6D5D7A
monochromatic
#343528 #575743 #797A5D #999A7A #B4B49D
Accessibility & contrast
On white
4.42
#797A5D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#797A5D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797A5D
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797A5D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797A5D | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F775B
Deuteranopia (green-blind)
#7F795E
Tritanopia (blue-blind)
#7D7672
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #797a5d; /* rgb */ color: rgb(121, 122, 93); /* oklch */ color: oklch(57.1% 0.043 109.3);
Tailwind
colors: {
custom: {
50: '#a0a08b',
500: '#797a5d',
950: '#000000',
},
}SCSS
$custom: #797a5d; $custom-light: #a0a08b; $custom-dark: #000000;
JSON
{
"hex": "#797a5d",
"rgb": {
"r": 121,
"g": 122,
"b": 93
},
"hsl": {
"h": 62.069,
"s": 13.488,
"l": 42.157
},
"oklch": {
"l": 0.57062,
"c": 0.0425,
"h": 109.3
},
"luminance": 0.18774
}Semantic roles & 50–950 ramp
primary
#797A5D
secondary
#9090A3
accent
#71B674
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D