#797D37#797D37
#797D37 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.093 H 112.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #797D37 |
|---|---|
| RGB | rgb(121, 125, 55) |
| HSL | hsl(63, 39%, 35%) |
| HSV | hsv(63, 56%, 49%) |
| CMYK | cmyk(3.2%, 0%, 56%, 51%) |
| CIE-LAB | lab(50.70, -11.94, 37.05) |
| CIE-LCH | lch(50.70, 38.93, 107.86°) |
| OKLab | oklab(57.08% -0.0349 0.0866) |
| OKLCH | oklch(57.08% 0.093 112) |
| XYZ | xyz(15.9087, 19.0083, 6.4446) |
| Luminance | 0.1901 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.06
Olive Drab
#6F7632
ΔE00 3.14
Khaki Green
#728639
ΔE00 4.93
Murky Green
#6C7A0E
ΔE00 5.47
Dirty Green
#667E2C
ΔE00 5.52
Olive (survey)
#6E750E
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797D37 #3B377D
analogous
#7D5E37 #797D37 #567D37
triadic
#797D37 #37797D #7D3779
tetradic
#797D37 #377D5E #3B377D #7D3756
square
#797D37 #377D5E #3B377D #7D3756
split-complementary
#797D37 #37567D #5E377D
monochromatic
#272812 #505224 #797D37 #A2A74A #BBC06F
Accessibility & contrast
On white
4.37
#797D37 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#797D37 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797D37
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797D37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797D37 | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867830
Deuteranopia (green-blind)
#867A3B
Tritanopia (blue-blind)
#80766D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #797d37; /* rgb */ color: rgb(121, 125, 55); /* oklch */ color: oklch(57.1% 0.093 112.0);
Tailwind
colors: {
custom: {
50: '#a1a270',
500: '#797d37',
950: '#000000',
},
}SCSS
$custom: #797d37; $custom-light: #a1a270; $custom-dark: #000000;
JSON
{
"hex": "#797d37",
"rgb": {
"r": 121,
"g": 125,
"b": 55
},
"hsl": {
"h": 63.429,
"s": 38.889,
"l": 35.294
},
"oklch": {
"l": 0.57084,
"c": 0.09333,
"h": 112
},
"luminance": 0.19008
}Semantic roles & 50–950 ramp
primary
#797D37
secondary
#6B67A8
accent
#59CF60
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F08
muted
#7F7E7B