#797452#797452
#797452 is a mid, muted yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.050 H 100.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #797452 |
|---|---|
| RGB | rgb(121, 116, 82) |
| HSL | hsl(52, 19%, 40%) |
| HSV | hsv(52, 32%, 47%) |
| CMYK | cmyk(0%, 4.1%, 32.2%, 52.5%) |
| CIE-LAB | lab(48.47, -3.81, 19.52) |
| CIE-LCH | lch(48.47, 19.89, 101.03°) |
| OKLab | oklab(55.44% -0.0093 0.0488) |
| OKLCH | oklch(55.44% 0.05 100.8) |
| XYZ | xyz(15.6537, 17.1653, 10.4696) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 5.56
Greyish Brown
#7A6A4F
ΔE00 7.10
Brownish Grey
#86775F
ΔE00 7.20
Brown Grey
#8D8468
ΔE00 7.36
Drab
#828344
ΔE00 8.70
Olive Drab
#6F7632
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797452 #525779
analogous
#796152 #797452 #6B7952
triadic
#797452 #527974 #745279
tetradic
#797452 #527961 #525779 #79526B
square
#797452 #527961 #525779 #79526B
split-complementary
#797452 #526B79 #615279
monochromatic
#302E21 #555139 #797452 #9C966C #B4B091
Accessibility & contrast
On white
4.74
#797452 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#797452 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #797452
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797452 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797452 | 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)
#7A7250
Deuteranopia (green-blind)
#7C7453
Tritanopia (blue-blind)
#7F6F6B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #797452; /* rgb */ color: rgb(121, 116, 82); /* oklch */ color: oklch(55.4% 0.050 100.8);
Tailwind
colors: {
custom: {
50: '#a09b83',
500: '#797452',
950: '#000000',
},
}SCSS
$custom: #797452; $custom-light: #a09b83; $custom-dark: #000000;
JSON
{
"hex": "#797452",
"rgb": {
"r": 121,
"g": 116,
"b": 82
},
"hsl": {
"h": 52.308,
"s": 19.212,
"l": 39.804
},
"oklch": {
"l": 0.55443,
"c": 0.0497,
"h": 100.8
},
"luminance": 0.17165
}Semantic roles & 50–950 ramp
primary
#797452
secondary
#8589A2
accent
#76BC6C
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0A
muted
#7E7E7C