#997E23#997E23
#997E23 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.2% C 0.110 H 91.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #997E23 |
|---|---|
| RGB | rgb(153, 126, 35) |
| HSL | hsl(46, 63%, 37%) |
| HSV | hsv(46, 77%, 60%) |
| CMYK | cmyk(0%, 17.6%, 77.1%, 40%) |
| CIE-LAB | lab(53.83, 0.80, 50.24) |
| CIE-LCH | lch(53.83, 50.25, 89.08°) |
| OKLab | oklab(60.24% -0.003 0.1103) |
| OKLCH | oklch(60.24% 0.11 91.6) |
| XYZ | xyz(20.9023, 21.8166, 4.6999) |
| Luminance | 0.2182 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.90
Puke Brown
#947706
ΔE00 3.06
Baby Poop
#937C00
ΔE00 3.09
Diarrhea
#9F8303
ΔE00 3.43
Hazel
#8E7618
ΔE00 3.44
Poo
#8F7303
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997E23 #233E99
analogous
#994323 #997E23 #799923
triadic
#997E23 #23997E #7E2399
tetradic
#997E23 #239943 #233E99 #992379
square
#997E23 #239943 #233E99 #992379
split-complementary
#997E23 #237999 #432399
monochromatic
#352C0C #675518 #997E23 #CBA72E #DABD5D
Accessibility & contrast
On white
3.92
#997E23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#997E23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997E23
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997E23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997E23 | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C13
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#A6736C
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #997e23; /* rgb */ color: rgb(153, 126, 35); /* oklch */ color: oklch(60.2% 0.110 91.6);
Tailwind
colors: {
custom: {
50: '#bba365',
500: '#997e23',
950: '#000000',
},
}SCSS
$custom: #997e23; $custom-light: #bba365; $custom-dark: #000000;
JSON
{
"hex": "#997e23",
"rgb": {
"r": 153,
"g": 126,
"b": 35
},
"hsl": {
"h": 46.271,
"s": 62.766,
"l": 36.863
},
"oklch": {
"l": 0.60236,
"c": 0.11029,
"h": 91.6
},
"luminance": 0.21815
}Semantic roles & 50–950 ramp
primary
#997E23
secondary
#5970BE
accent
#67E642
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120F06
muted
#817E7A