#797929#797929
#797929 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.101 H 109.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #797929 |
|---|---|
| RGB | rgb(121, 121, 41) |
| HSL | hsl(60, 49%, 32%) |
| HSV | hsv(60, 66%, 47%) |
| CMYK | cmyk(0%, 0%, 66.1%, 52.5%) |
| CIE-LAB | lab(49.37, -10.85, 42.28) |
| CIE-LCH | lch(49.37, 43.65, 104.39°) |
| OKLab | oklab(55.98% -0.0335 0.0957) |
| OKLCH | oklch(55.98% 0.101 109.3) |
| XYZ | xyz(15.1233, 17.9002, 4.7558) |
| Luminance | 0.1790 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.64
Olive (survey)
#6E750E
ΔE00 3.68
Murky Green
#6C7A0E
ΔE00 4.54
Poop Green
#6F7C00
ΔE00 4.85
Drab
#828344
ΔE00 5.12
Olive
#808000
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797929 #292979
analogous
#795129 #797929 #517929
triadic
#797929 #297979 #792979
tetradic
#797929 #297951 #292979 #792951
square
#797929 #297951 #292979 #792951
split-complementary
#797929 #295179 #512979
monochromatic
#1E1E0A #4B4B1A #797929 #A7A738 #C6C656
Accessibility & contrast
On white
4.59
#797929 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#797929 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #797929
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797929 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797929 | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#827168
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #797929; /* rgb */ color: rgb(121, 121, 41); /* oklch */ color: oklch(56.0% 0.101 109.3);
Tailwind
colors: {
custom: {
50: '#a29f67',
500: '#797929',
950: '#000000',
},
}SCSS
$custom: #797929; $custom-light: #a29f67; $custom-dark: #000000;
JSON
{
"hex": "#797929",
"rgb": {
"r": 121,
"g": 121,
"b": 41
},
"hsl": {
"h": 60,
"s": 49.383,
"l": 31.765
},
"oklch": {
"l": 0.55984,
"c": 0.10141,
"h": 109.3
},
"luminance": 0.179
}Semantic roles & 50–950 ramp
primary
#797929
secondary
#5353AB
accent
#4FD94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A