#797148#797148
#797148 is a mid, muted yellow. Relative luminance 0.163; OKLCH L 54.6% C 0.059 H 98.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #797148 |
|---|---|
| RGB | rgb(121, 113, 72) |
| HSL | hsl(50, 25%, 38%) |
| HSV | hsv(50, 40%, 47%) |
| CMYK | cmyk(0%, 6.6%, 40.5%, 52.5%) |
| CIE-LAB | lab(47.42, -3.41, 23.88) |
| CIE-LCH | lch(47.42, 24.13, 98.12°) |
| OKLab | oklab(54.56% -0.0088 0.0587) |
| OKLCH | oklch(54.56% 0.059 98.5) |
| XYZ | xyz(14.9603, 16.3435, 8.4962) |
| Luminance | 0.1634 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 5.48
Greyish Brown
#7A6A4F
ΔE00 6.73
Olive Drab
#6F7632
ΔE00 7.60
Brownish Grey
#86775F
ΔE00 7.93
Dull Brown
#876E4B
ΔE00 8.01
Dirt
#8A6E45
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797148 #485079
analogous
#795848 #797148 #687948
triadic
#797148 #487971 #714879
tetradic
#797148 #487958 #485079 #794868
square
#797148 #487958 #485079 #794868
split-complementary
#797148 #486879 #584879
monochromatic
#2C291A #534D31 #797148 #9F955F #B6AE85
Accessibility & contrast
On white
4.92
#797148 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#797148 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #797148
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797148 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796F45
Deuteranopia (green-blind)
#7B724A
Tritanopia (blue-blind)
#806B67
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #797148; /* rgb */ color: rgb(121, 113, 72); /* oklch */ color: oklch(54.6% 0.059 98.5);
Tailwind
colors: {
custom: {
50: '#a0997b',
500: '#797148',
950: '#000000',
},
}SCSS
$custom: #797148; $custom-light: #a0997b; $custom-dark: #000000;
JSON
{
"hex": "#797148",
"rgb": {
"r": 121,
"g": 113,
"b": 72
},
"hsl": {
"h": 50.204,
"s": 25.389,
"l": 37.843
},
"oklch": {
"l": 0.54557,
"c": 0.0593,
"h": 98.5
},
"luminance": 0.16343
}Semantic roles & 50–950 ramp
primary
#797148
secondary
#7A81A2
accent
#75C266
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B