#797A5E#797A5E
#797A5E is a mid, muted yellow. Relative luminance 0.188; OKLCH L 57.1% C 0.041 H 109.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #797A5E |
|---|---|
| RGB | rgb(121, 122, 94) |
| HSL | hsl(62, 13%, 42%) |
| HSV | hsv(62, 23%, 48%) |
| CMYK | cmyk(0.8%, 0%, 23%, 52.2%) |
| CIE-LAB | lab(50.44, -5.43, 15.26) |
| CIE-LCH | lch(50.44, 16.20, 109.59°) |
| OKLab | oklab(57.09% -0.0136 0.0388) |
| OKLCH | oklch(57.09% 0.041 109.3) |
| XYZ | xyz(16.8650, 18.7924, 13.3263) |
| Luminance | 0.1879 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 6.72
Grey Brown
#7F7053
ΔE00 8.38
Brownish Grey
#86775F
ΔE00 8.66
Drab
#828344
ΔE00 9.33
Taupe
#8B7D6B
ΔE00 10.00
Greyish Brown
#7A6A4F
ΔE00 10.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797A5E #5F5E7A
analogous
#7A6D5E #797A5E #6B7A5E
triadic
#797A5E #5E797A #7A5E79
tetradic
#797A5E #5E7A6D #5F5E7A #7A5E6B
square
#797A5E #5E7A6D #5F5E7A #7A5E6B
split-complementary
#797A5E #5E6B7A #6D5E7A
monochromatic
#343529 #575743 #797A5E #999A7C #B4B49E
Accessibility & contrast
On white
4.41
#797A5E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#797A5E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797A5E
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797A5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797A5E | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F775C
Deuteranopia (green-blind)
#7F795F
Tritanopia (blue-blind)
#7D7672
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #797a5e; /* rgb */ color: rgb(121, 122, 94); /* oklch */ color: oklch(57.1% 0.041 109.3);
Tailwind
colors: {
custom: {
50: '#a0a08b',
500: '#797a5e',
950: '#000000',
},
}SCSS
$custom: #797a5e; $custom-light: #a0a08b; $custom-dark: #000000;
JSON
{
"hex": "#797a5e",
"rgb": {
"r": 121,
"g": 122,
"b": 94
},
"hsl": {
"h": 62.143,
"s": 12.963,
"l": 42.353
},
"oklch": {
"l": 0.57086,
"c": 0.0411,
"h": 109.3
},
"luminance": 0.18792
}Semantic roles & 50–950 ramp
primary
#797A5E
secondary
#9191A3
accent
#72B674
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D