#797F29#797F29
#797F29 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.108 H 113.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #797F29 |
|---|---|
| RGB | rgb(121, 127, 41) |
| HSL | hsl(64, 51%, 33%) |
| HSV | hsv(64, 68%, 50%) |
| CMYK | cmyk(4.7%, 0%, 67.7%, 50.2%) |
| CIE-LAB | lab(51.16, -14.11, 44.14) |
| CIE-LCH | lch(51.16, 46.34, 107.73°) |
| OKLab | oklab(57.41% -0.0426 0.0997) |
| OKLCH | oklch(57.41% 0.108 113.2) |
| XYZ | xyz(15.8752, 19.4041, 5.0065) |
| Luminance | 0.1940 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 3.61
Murky Green
#6C7A0E
ΔE00 3.81
Poop Green
#6F7C00
ΔE00 3.85
Olive (survey)
#6E750E
ΔE00 4.43
Olive
#808000
ΔE00 4.50
Drab
#828344
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797F29 #2F297F
analogous
#7F5A29 #797F29 #4E7F29
triadic
#797F29 #29797F #7F2979
tetradic
#797F29 #297F5A #2F297F #7F294E
square
#797F29 #297F5A #2F297F #7F294E
split-complementary
#797F29 #294E7F #5A297F
monochromatic
#21220B #4D511A #797F29 #A5AD38 #C2C959
Accessibility & contrast
On white
4.30
#797F29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#797F29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797F29
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797F29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797F29 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88791D
Deuteranopia (green-blind)
#887B2F
Tritanopia (blue-blind)
#81776D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #797f29; /* rgb */ color: rgb(121, 127, 41); /* oklch */ color: oklch(57.4% 0.108 113.2);
Tailwind
colors: {
custom: {
50: '#a2a468',
500: '#797f29',
950: '#000000',
},
}SCSS
$custom: #797f29; $custom-light: #a2a468; $custom-dark: #000000;
JSON
{
"hex": "#797f29",
"rgb": {
"r": 121,
"g": 127,
"b": 41
},
"hsl": {
"h": 64.186,
"s": 51.19,
"l": 32.941
},
"oklch": {
"l": 0.57408,
"c": 0.10839,
"h": 113.2
},
"luminance": 0.19404
}Semantic roles & 50–950 ramp
primary
#797F29
secondary
#5B55AF
accent
#4DDB57
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A