#797E29#797E29
#797E29 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.107 H 112.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #797E29 |
|---|---|
| RGB | rgb(121, 126, 41) |
| HSL | hsl(64, 51%, 33%) |
| HSV | hsv(64, 67%, 49%) |
| CMYK | cmyk(4%, 0%, 67.5%, 50.6%) |
| CIE-LAB | lab(50.86, -13.57, 43.83) |
| CIE-LCH | lch(50.86, 45.88, 107.21°) |
| OKLab | oklab(57.17% -0.0411 0.099) |
| OKLCH | oklch(57.17% 0.107 112.6) |
| XYZ | xyz(15.7467, 19.1471, 4.9636) |
| Luminance | 0.1915 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 3.77
Murky Green
#6C7A0E
ΔE00 3.81
Poop Green
#6F7C00
ΔE00 3.91
Olive (survey)
#6E750E
ΔE00 4.19
Olive Drab
#6F7632
ΔE00 4.31
Olive
#808000
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E29 #2E297E
analogous
#7E5829 #797E29 #4F7E29
triadic
#797E29 #29797E #7E2979
tetradic
#797E29 #297E58 #2E297E #7E294F
square
#797E29 #297E58 #2E297E #7E294F
split-complementary
#797E29 #294F7E #58297E
monochromatic
#20220B #4D501A #797E29 #A5AC38 #C2C959
Accessibility & contrast
On white
4.35
#797E29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#797E29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E29
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E29 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87781D
Deuteranopia (green-blind)
#887A2F
Tritanopia (blue-blind)
#81766D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #797e29; /* rgb */ color: rgb(121, 126, 41); /* oklch */ color: oklch(57.2% 0.107 112.6);
Tailwind
colors: {
custom: {
50: '#a2a368',
500: '#797e29',
950: '#000000',
},
}SCSS
$custom: #797e29; $custom-light: #a2a368; $custom-dark: #000000;
JSON
{
"hex": "#797e29",
"rgb": {
"r": 121,
"g": 126,
"b": 41
},
"hsl": {
"h": 63.529,
"s": 50.898,
"l": 32.745
},
"oklch": {
"l": 0.5717,
"c": 0.1072,
"h": 112.6
},
"luminance": 0.19147
}Semantic roles & 50–950 ramp
primary
#797E29
secondary
#5A55AE
accent
#4DDA56
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A