#797C29#797C29
#797C29 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.105 H 111.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #797C29 |
|---|---|
| RGB | rgb(121, 124, 41) |
| HSL | hsl(62, 50%, 32%) |
| HSV | hsv(62, 67%, 49%) |
| CMYK | cmyk(2.4%, 0%, 66.9%, 51.4%) |
| CIE-LAB | lab(50.26, -12.49, 43.21) |
| CIE-LCH | lch(50.26, 44.98, 106.12°) |
| OKLab | oklab(56.69% -0.0381 0.0977) |
| OKLCH | oklch(56.69% 0.105 111.3) |
| XYZ | xyz(15.4935, 18.6407, 4.8793) |
| Luminance | 0.1864 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.84
Olive Drab
#6F7632
ΔE00 3.91
Murky Green
#6C7A0E
ΔE00 3.96
Poop Green
#6F7C00
ΔE00 4.16
Shit Green
#758000
ΔE00 4.22
Olive
#808000
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797C29 #2C297C
analogous
#7C5629 #797C29 #4F7C29
triadic
#797C29 #29797C #7C2979
tetradic
#797C29 #297C56 #2C297C #7C294F
square
#797C29 #297C56 #2C297C #7C294F
split-complementary
#797C29 #294F7C #56297C
monochromatic
#1F200B #4C4E1A #797C29 #A6AA38 #C4C858
Accessibility & contrast
On white
4.44
#797C29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#797C29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797C29
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797C29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797C29 | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86761E
Deuteranopia (green-blind)
#86792F
Tritanopia (blue-blind)
#81746B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #797c29; /* rgb */ color: rgb(121, 124, 41); /* oklch */ color: oklch(56.7% 0.105 111.3);
Tailwind
colors: {
custom: {
50: '#a2a167',
500: '#797c29',
950: '#000000',
},
}SCSS
$custom: #797c29; $custom-light: #a2a167; $custom-dark: #000000;
JSON
{
"hex": "#797c29",
"rgb": {
"r": 121,
"g": 124,
"b": 41
},
"hsl": {
"h": 62.169,
"s": 50.303,
"l": 32.353
},
"oklch": {
"l": 0.56694,
"c": 0.10485,
"h": 111.3
},
"luminance": 0.1864
}Semantic roles & 50–950 ramp
primary
#797C29
secondary
#5754AD
accent
#4EDA53
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A