#9E831E#9E831E
#9E831E is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.8% C 0.117 H 92.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9E831E |
|---|---|
| RGB | rgb(158, 131, 30) |
| HSL | hsl(47, 68%, 37%) |
| HSV | hsv(47, 81%, 62%) |
| CMYK | cmyk(0%, 17.1%, 81%, 38%) |
| CIE-LAB | lab(55.68, 0.11, 53.93) |
| CIE-LCH | lch(55.68, 53.93, 89.88°) |
| OKLab | oklab(61.81% -0.0058 0.1168) |
| OKLCH | oklch(61.81% 0.117 92.8) |
| XYZ | xyz(22.4525, 23.5968, 4.6001) |
| Luminance | 0.2359 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.77
Dark Mustard
#A88905
ΔE00 3.32
Baby Poop
#937C00
ΔE00 3.46
Yellowish Brown
#9B7A01
ΔE00 3.56
Yellowy Brown
#AE8B0C
ΔE00 4.38
Puke Brown
#947706
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E831E #1E399E
analogous
#9E431E #9E831E #799E1E
triadic
#9E831E #1E9E83 #831E9E
tetradic
#9E831E #1E9E43 #1E399E #9E1E79
square
#9E831E #1E9E43 #1E399E #9E1E79
split-complementary
#9E831E #1E799E #431E9E
monochromatic
#372E0A #6B5814 #9E831E #D1AE28 #DFC257
Accessibility & contrast
On white
3.67
#9E831E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#9E831E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E831E
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E831E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E831E | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928105
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#AB7870
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9e831e; /* rgb */ color: rgb(158, 131, 30); /* oklch */ color: oklch(61.8% 0.117 92.8);
Tailwind
colors: {
custom: {
50: '#bfa663',
500: '#9e831e',
950: '#000000',
},
}SCSS
$custom: #9e831e; $custom-light: #bfa663; $custom-dark: #000000;
JSON
{
"hex": "#9e831e",
"rgb": {
"r": 158,
"g": 131,
"b": 30
},
"hsl": {
"h": 47.344,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.61806,
"c": 0.11696,
"h": 92.8
},
"luminance": 0.23595
}Semantic roles & 50–950 ramp
primary
#9E831E
secondary
#556CC3
accent
#62EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A