#797251#797251
#797251 is a mid, muted yellow. Relative luminance 0.167; OKLCH L 55.0% C 0.049 H 97.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #797251 |
|---|---|
| RGB | rgb(121, 114, 81) |
| HSL | hsl(50, 20%, 40%) |
| HSV | hsv(50, 33%, 47%) |
| CMYK | cmyk(0%, 5.8%, 33.1%, 52.5%) |
| CIE-LAB | lab(47.87, -2.80, 19.31) |
| CIE-LCH | lch(47.87, 19.51, 98.25°) |
| OKLab | oklab(54.97% -0.0064 0.0483) |
| OKLCH | oklch(54.97% 0.049 97.6) |
| XYZ | xyz(15.3878, 16.6940, 10.1947) |
| Luminance | 0.1669 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 4.50
Greyish Brown
#7A6A4F
ΔE00 5.92
Brownish Grey
#86775F
ΔE00 6.50
Brown Grey
#8D8468
ΔE00 7.63
Dull Brown
#876E4B
ΔE00 8.09
Dirt
#8A6E45
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797251 #515879
analogous
#795E51 #797251 #6C7951
triadic
#797251 #517972 #725179
tetradic
#797251 #51795E #515879 #79516C
square
#797251 #51795E #515879 #79516C
split-complementary
#797251 #516C79 #5E5179
monochromatic
#302D20 #544F38 #797251 #9C936B #B5AE90
Accessibility & contrast
On white
4.84
#797251 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#797251 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #797251
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797251 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797251 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#78704F
Deuteranopia (green-blind)
#7A7352
Tritanopia (blue-blind)
#7F6D69
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #797251; /* rgb */ color: rgb(121, 114, 81); /* oklch */ color: oklch(55.0% 0.049 97.6);
Tailwind
colors: {
custom: {
50: '#a09a82',
500: '#797251',
950: '#000000',
},
}SCSS
$custom: #797251; $custom-light: #a09a82; $custom-dark: #000000;
JSON
{
"hex": "#797251",
"rgb": {
"r": 121,
"g": 114,
"b": 81
},
"hsl": {
"h": 49.5,
"s": 19.802,
"l": 39.608
},
"oklch": {
"l": 0.54966,
"c": 0.04871,
"h": 97.6
},
"luminance": 0.16694
}Semantic roles & 50–950 ramp
primary
#797251
secondary
#8489A2
accent
#7ABC6B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E0A
muted
#7E7E7C