#797451#797451
#797451 is a mid, muted yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.051 H 101.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #797451 |
|---|---|
| RGB | rgb(121, 116, 81) |
| HSL | hsl(53, 20%, 40%) |
| HSV | hsv(53, 33%, 47%) |
| CMYK | cmyk(0%, 4.1%, 33.1%, 52.5%) |
| CIE-LAB | lab(48.45, -3.95, 20.08) |
| CIE-LCH | lch(48.45, 20.46, 101.12°) |
| OKLab | oklab(55.42% -0.0097 0.0501) |
| OKLCH | oklch(55.42% 0.051 101) |
| XYZ | xyz(15.6159, 17.1502, 10.2707) |
| Luminance | 0.1715 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 5.68
Greyish Brown
#7A6A4F
ΔE00 7.22
Brownish Grey
#86775F
ΔE00 7.38
Brown Grey
#8D8468
ΔE00 7.48
Olive Drab
#6F7632
ΔE00 8.45
Drab
#828344
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797451 #515679
analogous
#796051 #797451 #6A7951
triadic
#797451 #517974 #745179
tetradic
#797451 #517960 #515679 #79516A
square
#797451 #517960 #515679 #79516A
split-complementary
#797451 #516A79 #605179
monochromatic
#302E20 #545138 #797451 #9C966B #B5B090
Accessibility & contrast
On white
4.74
#797451 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#797451 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #797451
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797451 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797451 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A724F
Deuteranopia (green-blind)
#7C7452
Tritanopia (blue-blind)
#7F6F6B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #797451; /* rgb */ color: rgb(121, 116, 81); /* oklch */ color: oklch(55.4% 0.051 101.0);
Tailwind
colors: {
custom: {
50: '#a09b82',
500: '#797451',
950: '#000000',
},
}SCSS
$custom: #797451; $custom-light: #a09b82; $custom-dark: #000000;
JSON
{
"hex": "#797451",
"rgb": {
"r": 121,
"g": 116,
"b": 81
},
"hsl": {
"h": 52.5,
"s": 19.802,
"l": 39.608
},
"oklch": {
"l": 0.55421,
"c": 0.05104,
"h": 101
},
"luminance": 0.1715
}Semantic roles & 50–950 ramp
primary
#797451
secondary
#8488A2
accent
#76BC6B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E0A
muted
#7E7E7C