#9E841A#9E841A
#9E841A is a light, moderate yellow. Relative luminance 0.238; OKLCH L 62.0% C 0.119 H 93.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9E841A |
|---|---|
| RGB | rgb(158, 132, 26) |
| HSL | hsl(48, 72%, 36%) |
| HSV | hsv(48, 84%, 62%) |
| CMYK | cmyk(0%, 16.5%, 83.5%, 38%) |
| CIE-LAB | lab(55.93, -0.58, 55.43) |
| CIE-LCH | lch(55.93, 55.43, 90.60°) |
| OKLab | oklab(62% -0.0081 0.1192) |
| OKLCH | oklch(62% 0.119 93.9) |
| XYZ | xyz(22.5396, 23.8476, 4.3929) |
| Luminance | 0.2385 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.40
Dark Mustard
#A88905
ΔE00 2.96
Baby Poop
#937C00
ΔE00 3.43
Yellowish Brown
#9B7A01
ΔE00 3.89
Yellowy Brown
#AE8B0C
ΔE00 4.19
Baby Shit Brown
#AD900D
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E841A #1A349E
analogous
#9E421A #9E841A #769E1A
triadic
#9E841A #1A9E84 #841A9E
tetradic
#9E841A #1A9E42 #1A349E #9E1A76
square
#9E841A #1A9E42 #1A349E #9E1A76
split-complementary
#9E841A #1A769E #421A9E
monochromatic
#352C09 #695811 #9E841A #D3B023 #E2C550
Accessibility & contrast
On white
3.64
#9E841A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#9E841A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E841A
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E841A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E841A | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#9A8922
Tritanopia (blue-blind)
#AB7871
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9e841a; /* rgb */ color: rgb(158, 132, 26); /* oklch */ color: oklch(62.0% 0.119 93.9);
Tailwind
colors: {
custom: {
50: '#bfa762',
500: '#9e841a',
950: '#000000',
},
}SCSS
$custom: #9e841a; $custom-light: #bfa762; $custom-dark: #000000;
JSON
{
"hex": "#9e841a",
"rgb": {
"r": 158,
"g": 132,
"b": 26
},
"hsl": {
"h": 48.182,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.62,
"c": 0.11948,
"h": 93.9
},
"luminance": 0.23846
}Semantic roles & 50–950 ramp
primary
#9E841A
secondary
#4F66C5
accent
#5DEE39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A