#9E811A#9E811A
#9E811A is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.4% C 0.118 H 91.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9E811A |
|---|---|
| RGB | rgb(158, 129, 26) |
| HSL | hsl(47, 72%, 36%) |
| HSV | hsv(47, 84%, 62%) |
| CMYK | cmyk(0%, 18.4%, 83.5%, 38%) |
| CIE-LAB | lab(55.12, 1.09, 54.73) |
| CIE-LCH | lch(55.12, 54.74, 88.86°) |
| OKLab | oklab(61.36% -0.0034 0.1177) |
| OKLCH | oklch(61.36% 0.118 91.7) |
| XYZ | xyz(22.1386, 23.0456, 4.2593) |
| Luminance | 0.2304 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.81
Yellowish Brown
#9B7A01
ΔE00 2.73
Baby Poop
#937C00
ΔE00 3.26
Dark Mustard
#A88905
ΔE00 3.56
Puke Brown
#947706
ΔE00 3.77
Yellowy Brown
#AE8B0C
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E811A #1A379E
analogous
#9E3F1A #9E811A #799E1A
triadic
#9E811A #1A9E81 #811A9E
tetradic
#9E811A #1A9E3F #1A379E #9E1A79
square
#9E811A #1A9E3F #1A379E #9E1A79
split-complementary
#9E811A #1A799E #3F1A9E
monochromatic
#352B09 #695611 #9E811A #D3AC23 #E2C250
Accessibility & contrast
On white
3.74
#9E811A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#9E811A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E811A
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E811A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E811A | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#988721
Tritanopia (blue-blind)
#AC756E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9e811a; /* rgb */ color: rgb(158, 129, 26); /* oklch */ color: oklch(61.4% 0.118 91.7);
Tailwind
colors: {
custom: {
50: '#bfa561',
500: '#9e811a',
950: '#000000',
},
}SCSS
$custom: #9e811a; $custom-light: #bfa561; $custom-dark: #000000;
JSON
{
"hex": "#9e811a",
"rgb": {
"r": 158,
"g": 129,
"b": 26
},
"hsl": {
"h": 46.818,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.61356,
"c": 0.11772,
"h": 91.7
},
"luminance": 0.23044
}Semantic roles & 50–950 ramp
primary
#9E811A
secondary
#4F69C5
accent
#61EE39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A