#997E28#997E28
#997E28 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.3% C 0.107 H 91.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #997E28 |
|---|---|
| RGB | rgb(153, 126, 40) |
| HSL | hsl(46, 59%, 38%) |
| HSV | hsv(46, 74%, 60%) |
| CMYK | cmyk(0%, 17.6%, 73.9%, 40%) |
| CIE-LAB | lab(53.87, 1.04, 48.27) |
| CIE-LCH | lch(53.87, 48.29, 88.77°) |
| OKLab | oklab(60.27% -0.0018 0.1071) |
| OKLCH | oklch(60.27% 0.107 91) |
| XYZ | xyz(20.9819, 21.8485, 5.1191) |
| Luminance | 0.2185 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 3.35
Puke Brown
#947706
ΔE00 3.44
Hazel
#8E7618
ΔE00 3.59
Baby Poop
#937C00
ΔE00 3.66
Diarrhea
#9F8303
ΔE00 3.97
Poo
#8F7303
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997E28 #284399
analogous
#994628 #997E28 #7B9928
triadic
#997E28 #28997E #7E2899
tetradic
#997E28 #289946 #284399 #99287B
square
#997E28 #289946 #284399 #99287B
split-complementary
#997E28 #287B99 #462899
monochromatic
#382E0F #68561B #997E28 #CAA635 #D7BB65
Accessibility & contrast
On white
3.91
#997E28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#997E28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997E28
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997E28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997E28 | 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)
#8C7C1B
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#A6736D
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #997e28; /* rgb */ color: rgb(153, 126, 40); /* oklch */ color: oklch(60.3% 0.107 91.0);
Tailwind
colors: {
custom: {
50: '#bba368',
500: '#997e28',
950: '#000000',
},
}SCSS
$custom: #997e28; $custom-light: #bba368; $custom-dark: #000000;
JSON
{
"hex": "#997e28",
"rgb": {
"r": 153,
"g": 126,
"b": 40
},
"hsl": {
"h": 45.664,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.60273,
"c": 0.10711,
"h": 91
},
"luminance": 0.21847
}Semantic roles & 50–950 ramp
primary
#997E28
secondary
#6076BD
accent
#6BE246
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A