#997E29#997E29
#997E29 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.3% C 0.106 H 90.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #997E29 |
|---|---|
| RGB | rgb(153, 126, 41) |
| HSL | hsl(46, 58%, 38%) |
| HSV | hsv(46, 73%, 60%) |
| CMYK | cmyk(0%, 17.6%, 73.2%, 40%) |
| CIE-LAB | lab(53.87, 1.09, 47.86) |
| CIE-LCH | lch(53.87, 47.88, 88.70°) |
| OKLab | oklab(60.28% -0.0015 0.1064) |
| OKLCH | oklch(60.28% 0.106 90.8) |
| XYZ | xyz(20.9991, 21.8554, 5.2099) |
| Luminance | 0.2185 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 3.45
Puke Brown
#947706
ΔE00 3.53
Hazel
#8E7618
ΔE00 3.63
Baby Poop
#937C00
ΔE00 3.78
Diarrhea
#9F8303
ΔE00 4.09
Poo
#8F7303
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997E29 #294499
analogous
#994629 #997E29 #7C9929
triadic
#997E29 #29997E #7E2999
tetradic
#997E29 #299946 #294499 #99297C
square
#997E29 #299946 #294499 #99297C
split-complementary
#997E29 #297C99 #462999
monochromatic
#382F0F #69561C #997E29 #C9A636 #D6BB66
Accessibility & contrast
On white
3.91
#997E29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#997E29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997E29
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997E29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997E29 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C1D
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#A6736D
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #997e29; /* rgb */ color: rgb(153, 126, 41); /* oklch */ color: oklch(60.3% 0.106 90.8);
Tailwind
colors: {
custom: {
50: '#bba368',
500: '#997e29',
950: '#000000',
},
}SCSS
$custom: #997e29; $custom-light: #bba368; $custom-dark: #000000;
JSON
{
"hex": "#997e29",
"rgb": {
"r": 153,
"g": 126,
"b": 41
},
"hsl": {
"h": 45.536,
"s": 57.732,
"l": 38.039
},
"oklch": {
"l": 0.60282,
"c": 0.10643,
"h": 90.8
},
"luminance": 0.21854
}Semantic roles & 50–950 ramp
primary
#997E29
secondary
#6277BC
accent
#6CE147
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A