#797351#797351
#797351 is a mid, muted yellow. Relative luminance 0.169; OKLCH L 55.2% C 0.050 H 99.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #797351 |
|---|---|
| RGB | rgb(121, 115, 81) |
| HSL | hsl(51, 20%, 40%) |
| HSV | hsv(51, 33%, 47%) |
| CMYK | cmyk(0%, 5%, 33.1%, 52.5%) |
| CIE-LAB | lab(48.16, -3.37, 19.69) |
| CIE-LCH | lch(48.16, 19.98, 99.72°) |
| OKLab | oklab(55.19% -0.0081 0.0492) |
| OKLCH | oklch(55.19% 0.05 99.3) |
| XYZ | xyz(15.5012, 16.9209, 10.2325) |
| Luminance | 0.1692 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 5.09
Greyish Brown
#7A6A4F
ΔE00 6.58
Brownish Grey
#86775F
ΔE00 6.94
Brown Grey
#8D8468
ΔE00 7.53
Dull Brown
#876E4B
ΔE00 8.59
Olive Drab
#6F7632
ΔE00 8.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797351 #515779
analogous
#795F51 #797351 #6B7951
triadic
#797351 #517973 #735179
tetradic
#797351 #51795F #515779 #79516B
square
#797351 #51795F #515779 #79516B
split-complementary
#797351 #516B79 #5F5179
monochromatic
#302D20 #545038 #797351 #9C956B #B5AF90
Accessibility & contrast
On white
4.79
#797351 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#797351 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #797351
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797351 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797351 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79714F
Deuteranopia (green-blind)
#7B7352
Tritanopia (blue-blind)
#7F6E6A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #797351; /* rgb */ color: rgb(121, 115, 81); /* oklch */ color: oklch(55.2% 0.050 99.3);
Tailwind
colors: {
custom: {
50: '#a09b82',
500: '#797351',
950: '#000000',
},
}SCSS
$custom: #797351; $custom-light: #a09b82; $custom-dark: #000000;
JSON
{
"hex": "#797351",
"rgb": {
"r": 121,
"g": 115,
"b": 81
},
"hsl": {
"h": 51,
"s": 19.802,
"l": 39.608
},
"oklch": {
"l": 0.55193,
"c": 0.04985,
"h": 99.3
},
"luminance": 0.1692
}Semantic roles & 50–950 ramp
primary
#797351
secondary
#8488A2
accent
#78BC6B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E0A
muted
#7E7E7C