#797449#797449
#797449 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.3% C 0.061 H 102.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #797449 |
|---|---|
| RGB | rgb(121, 116, 73) |
| HSL | hsl(54, 25%, 38%) |
| HSV | hsv(54, 40%, 47%) |
| CMYK | cmyk(0%, 4.1%, 39.7%, 52.5%) |
| CIE-LAB | lab(48.31, -5.00, 24.46) |
| CIE-LCH | lch(48.31, 24.96, 101.54°) |
| OKLab | oklab(55.26% -0.0133 0.06) |
| OKLCH | oklch(55.26% 0.061 102.5) |
| XYZ | xyz(15.3334, 17.0372, 8.7828) |
| Luminance | 0.1704 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 6.50
Grey Brown
#7F7053
ΔE00 6.79
Drab
#828344
ΔE00 6.98
Muddy Green
#657432
ΔE00 8.01
Greyish Brown
#7A6A4F
ΔE00 8.25
Brown Grey
#8D8468
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797449 #494E79
analogous
#795C49 #797449 #667949
triadic
#797449 #497974 #744979
tetradic
#797449 #49795C #494E79 #794966
square
#797449 #49795C #494E79 #794966
split-complementary
#797449 #496679 #5C4979
monochromatic
#2D2B1B #534F32 #797449 #9F9960 #B6B186
Accessibility & contrast
On white
4.76
#797449 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#797449 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #797449
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797449 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797449 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B7146
Deuteranopia (green-blind)
#7D744B
Tritanopia (blue-blind)
#806E69
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #797449; /* rgb */ color: rgb(121, 116, 73); /* oklch */ color: oklch(55.3% 0.061 102.5);
Tailwind
colors: {
custom: {
50: '#a09b7c',
500: '#797449',
950: '#000000',
},
}SCSS
$custom: #797449; $custom-light: #a09b7c; $custom-dark: #000000;
JSON
{
"hex": "#797449",
"rgb": {
"r": 121,
"g": 116,
"b": 73
},
"hsl": {
"h": 53.75,
"s": 24.742,
"l": 38.039
},
"oklch": {
"l": 0.55263,
"c": 0.06147,
"h": 102.5
},
"luminance": 0.17037
}Semantic roles & 50–950 ramp
primary
#797449
secondary
#7B80A2
accent
#70C167
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B