#9E8328#9E8328
#9E8328 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.9% C 0.111 H 91.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8328 |
|---|---|
| RGB | rgb(158, 131, 40) |
| HSL | hsl(46, 60%, 39%) |
| HSV | hsv(46, 75%, 62%) |
| CMYK | cmyk(0%, 17.1%, 74.7%, 38%) |
| CIE-LAB | lab(55.74, 0.53, 50.29) |
| CIE-LCH | lch(55.74, 50.29, 89.39°) |
| OKLab | oklab(61.87% -0.0035 0.1112) |
| OKLCH | oklch(61.87% 0.111 91.8) |
| XYZ | xyz(22.6011, 23.6563, 5.3828) |
| Luminance | 0.2366 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.89
Yellowish Brown
#9B7A01
ΔE00 3.97
Dark Mustard
#A88905
ΔE00 4.09
Baby Poop
#937C00
ΔE00 4.10
Puke Brown
#947706
ΔE00 4.69
Yellowy Brown
#AE8B0C
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8328 #28439E
analogous
#9E4828 #9E8328 #7E9E28
triadic
#9E8328 #289E83 #83289E
tetradic
#9E8328 #289E48 #28439E #9E287E
square
#9E8328 #289E48 #28439E #9E287E
split-complementary
#9E8328 #287E9E #48289E
monochromatic
#3C320F #6D5B1C #9E8328 #CCAA37 #D9BF68
Accessibility & contrast
On white
3.66
#9E8328 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#9E8328 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8328
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8328 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8328 | 1.00 | 3.66 | 5.73 | 5.73 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92811A
Deuteranopia (green-blind)
#98892D
Tritanopia (blue-blind)
#AB7871
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9e8328; /* rgb */ color: rgb(158, 131, 40); /* oklch */ color: oklch(61.9% 0.111 91.8);
Tailwind
colors: {
custom: {
50: '#bea668',
500: '#9e8328',
950: '#000000',
},
}SCSS
$custom: #9e8328; $custom-light: #bea668; $custom-dark: #000000;
JSON
{
"hex": "#9e8328",
"rgb": {
"r": 158,
"g": 131,
"b": 40
},
"hsl": {
"h": 46.271,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.61873,
"c": 0.11122,
"h": 91.8
},
"luminance": 0.23655
}Semantic roles & 50–950 ramp
primary
#9E8328
secondary
#6378BF
accent
#69E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A