#997E27#997E27
#997E27 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.3% C 0.108 H 91.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #997E27 |
|---|---|
| RGB | rgb(153, 126, 39) |
| HSL | hsl(46, 59%, 38%) |
| HSV | hsv(46, 75%, 60%) |
| CMYK | cmyk(0%, 17.6%, 74.5%, 40%) |
| CIE-LAB | lab(53.86, 0.99, 48.68) |
| CIE-LCH | lch(53.86, 48.69, 88.84°) |
| OKLab | oklab(60.27% -0.002 0.1078) |
| OKLCH | oklch(60.27% 0.108 91.1) |
| XYZ | xyz(20.9651, 21.8418, 5.0307) |
| Luminance | 0.2184 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 3.25
Puke Brown
#947706
ΔE00 3.35
Baby Poop
#937C00
ΔE00 3.54
Hazel
#8E7618
ΔE00 3.55
Diarrhea
#9F8303
ΔE00 3.85
Poo
#8F7303
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997E27 #274299
analogous
#994527 #997E27 #7B9927
triadic
#997E27 #27997E #7E2799
tetradic
#997E27 #279945 #274299 #99277B
square
#997E27 #279945 #274299 #99277B
split-complementary
#997E27 #277B99 #452799
monochromatic
#372E0E #68561B #997E27 #CAA633 #D7BC63
Accessibility & contrast
On white
3.91
#997E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#997E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997E27
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997E27 | 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)
#8C7C1A
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#A6736D
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #997e27; /* rgb */ color: rgb(153, 126, 39); /* oklch */ color: oklch(60.3% 0.108 91.1);
Tailwind
colors: {
custom: {
50: '#bba367',
500: '#997e27',
950: '#000000',
},
}SCSS
$custom: #997e27; $custom-light: #bba367; $custom-dark: #000000;
JSON
{
"hex": "#997e27",
"rgb": {
"r": 153,
"g": 126,
"b": 39
},
"hsl": {
"h": 45.789,
"s": 59.375,
"l": 37.647
},
"oklch": {
"l": 0.60266,
"c": 0.10778,
"h": 91.1
},
"luminance": 0.2184
}Semantic roles & 50–950 ramp
primary
#997E27
secondary
#5F75BD
accent
#6BE345
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A