#797920#797920
#797920 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.9% C 0.108 H 109.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #797920 |
|---|---|
| RGB | rgb(121, 121, 32) |
| HSL | hsl(60, 58%, 30%) |
| HSV | hsv(60, 74%, 47%) |
| CMYK | cmyk(0%, 0%, 73.6%, 52.5%) |
| CIE-LAB | lab(49.31, -11.39, 45.99) |
| CIE-LCH | lch(49.31, 47.38, 103.91°) |
| OKLab | oklab(55.91% -0.036 0.102) |
| OKLCH | oklch(55.91% 0.108 109.4) |
| XYZ | xyz(14.9838, 17.8444, 4.0212) |
| Luminance | 0.1784 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.07
Murky Green
#6C7A0E
ΔE00 4.06
Poop Green
#6F7C00
ΔE00 4.08
Olive
#808000
ΔE00 4.13
Shit Green
#758000
ΔE00 4.30
Olive Drab
#6F7632
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797920 #202079
analogous
#794D20 #797920 #4D7920
triadic
#797920 #207979 #792079
tetradic
#797920 #20794D #202079 #79204D
square
#797920 #20794D #202079 #79204D
split-complementary
#797920 #204C79 #4C2079
monochromatic
#181806 #494913 #797920 #A9A92D #CECE45
Accessibility & contrast
On white
4.60
#797920 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#797920 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #797920
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797920 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797920 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837410
Deuteranopia (green-blind)
#847727
Tritanopia (blue-blind)
#827168
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #797920; /* rgb */ color: rgb(121, 121, 32); /* oklch */ color: oklch(55.9% 0.108 109.4);
Tailwind
colors: {
custom: {
50: '#a39f62',
500: '#797920',
950: '#000000',
},
}SCSS
$custom: #797920; $custom-light: #a39f62; $custom-dark: #000000;
JSON
{
"hex": "#797920",
"rgb": {
"r": 121,
"g": 121,
"b": 32
},
"hsl": {
"h": 60,
"s": 58.17,
"l": 30
},
"oklch": {
"l": 0.55908,
"c": 0.10813,
"h": 109.4
},
"luminance": 0.17844
}Semantic roles & 50–950 ramp
primary
#797920
secondary
#4949AC
accent
#46E146
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A