#797D1D#797D1D
#797D1D is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 56.8% C 0.114 H 112.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #797D1D |
|---|---|
| RGB | rgb(121, 125, 29) |
| HSL | hsl(63, 62%, 30%) |
| HSV | hsv(63, 77%, 49%) |
| CMYK | cmyk(3.2%, 0%, 76.8%, 51%) |
| CIE-LAB | lab(50.48, -13.72, 48.23) |
| CIE-LCH | lch(50.48, 50.14, 105.87°) |
| OKLab | oklab(56.84% -0.0428 0.1061) |
| OKLCH | oklch(56.84% 0.114 112) |
| XYZ | xyz(15.4411, 18.8213, 3.9816) |
| Luminance | 0.1882 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.72
Poop Green
#6F7C00
ΔE00 2.99
Olive
#808000
ΔE00 3.22
Murky Green
#6C7A0E
ΔE00 3.34
Olive (survey)
#6E750E
ΔE00 3.48
Swamp Green
#748500
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797D1D #211D7D
analogous
#7D511D #797D1D #497D1D
triadic
#797D1D #1D797D #7D1D79
tetradic
#797D1D #1D7D51 #211D7D #7D1D49
square
#797D1D #1D7D51 #211D7D #7D1D49
split-complementary
#797D1D #1D497D #511D7D
monochromatic
#191A06 #494B11 #797D1D #A9AF29 #CDD341
Accessibility & contrast
On white
4.41
#797D1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#797D1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797D1D
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797D1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797D1D | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#82756B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #797d1d; /* rgb */ color: rgb(121, 125, 29); /* oklch */ color: oklch(56.8% 0.114 112.0);
Tailwind
colors: {
custom: {
50: '#a3a261',
500: '#797d1d',
950: '#000000',
},
}SCSS
$custom: #797d1d; $custom-light: #a3a261; $custom-dark: #000000;
JSON
{
"hex": "#797d1d",
"rgb": {
"r": 121,
"g": 125,
"b": 29
},
"hsl": {
"h": 62.5,
"s": 62.338,
"l": 30.196
},
"oklch": {
"l": 0.56838,
"c": 0.11442,
"h": 112
},
"luminance": 0.18821
}Semantic roles & 50–950 ramp
primary
#797D1D
secondary
#4A45B1
accent
#42E549
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F05
muted
#7F7E7A