#9E831A#9E831A
#9E831A is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.8% C 0.119 H 93.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9E831A |
|---|---|
| RGB | rgb(158, 131, 26) |
| HSL | hsl(48, 72%, 36%) |
| HSV | hsv(48, 84%, 62%) |
| CMYK | cmyk(0%, 17.1%, 83.5%, 38%) |
| CIE-LAB | lab(55.66, -0.02, 55.20) |
| CIE-LCH | lch(55.66, 55.20, 90.03°) |
| OKLab | oklab(61.79% -0.0066 0.1187) |
| OKLCH | oklch(61.79% 0.119 93.2) |
| XYZ | xyz(22.4046, 23.5777, 4.3480) |
| Luminance | 0.2358 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.41
Dark Mustard
#A88905
ΔE00 3.11
Baby Poop
#937C00
ΔE00 3.31
Yellowish Brown
#9B7A01
ΔE00 3.49
Yellowy Brown
#AE8B0C
ΔE00 4.25
Puke Brown
#947706
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E831A #1A359E
analogous
#9E411A #9E831A #779E1A
triadic
#9E831A #1A9E83 #831A9E
tetradic
#9E831A #1A9E41 #1A359E #9E1A77
square
#9E831A #1A9E41 #1A359E #9E1A77
split-complementary
#9E831A #1A779E #411A9E
monochromatic
#352C09 #695711 #9E831A #D3AF23 #E2C450
Accessibility & contrast
On white
3.67
#9E831A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#9E831A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E831A
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E831A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E831A | 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)
#928100
Deuteranopia (green-blind)
#998922
Tritanopia (blue-blind)
#AC7770
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9e831a; /* rgb */ color: rgb(158, 131, 26); /* oklch */ color: oklch(61.8% 0.119 93.2);
Tailwind
colors: {
custom: {
50: '#bfa662',
500: '#9e831a',
950: '#000000',
},
}SCSS
$custom: #9e831a; $custom-light: #bfa662; $custom-dark: #000000;
JSON
{
"hex": "#9e831a",
"rgb": {
"r": 158,
"g": 131,
"b": 26
},
"hsl": {
"h": 47.727,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.61785,
"c": 0.11887,
"h": 93.2
},
"luminance": 0.23576
}Semantic roles & 50–950 ramp
primary
#9E831A
secondary
#4F67C5
accent
#5EEE39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A