#9E8B1A#9E8B1A
#9E8B1A is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.5% C 0.124 H 98.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8B1A |
|---|---|
| RGB | rgb(158, 139, 26) |
| HSL | hsl(51, 72%, 36%) |
| HSV | hsv(51, 84%, 62%) |
| CMYK | cmyk(0%, 12%, 83.5%, 38%) |
| CIE-LAB | lab(57.86, -4.43, 57.08) |
| CIE-LCH | lch(57.86, 57.25, 94.44°) |
| OKLab | oklab(63.52% -0.019 0.1228) |
| OKLCH | oklch(63.52% 0.124 98.8) |
| XYZ | xyz(23.5209, 25.8102, 4.7200) |
| Luminance | 0.2581 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.55
Diarrhea
#9F8303
ΔE00 3.61
Dark Mustard
#A88905
ΔE00 3.73
Baby Shit Brown
#AD900D
ΔE00 3.91
Yellowy Brown
#AE8B0C
ΔE00 4.95
Baby Poop
#937C00
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8B1A #1A2D9E
analogous
#9E491A #9E8B1A #6F9E1A
triadic
#9E8B1A #1A9E8B #8B1A9E
tetradic
#9E8B1A #1A9E49 #1A2D9E #9E1A6F
square
#9E8B1A #1A9E49 #1A2D9E #9E1A6F
split-complementary
#9E8B1A #1A6F9E #491A9E
monochromatic
#352F09 #695D11 #9E8B1A #D3B923 #E2CD50
Accessibility & contrast
On white
3.41
#9E8B1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#9E8B1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8B1A
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8B1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8B1A | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9F8E23
Tritanopia (blue-blind)
#AB8077
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9e8b1a; /* rgb */ color: rgb(158, 139, 26); /* oklch */ color: oklch(63.5% 0.124 98.8);
Tailwind
colors: {
custom: {
50: '#bfac63',
500: '#9e8b1a',
950: '#000000',
},
}SCSS
$custom: #9e8b1a; $custom-light: #bfac63; $custom-dark: #000000;
JSON
{
"hex": "#9e8b1a",
"rgb": {
"r": 158,
"g": 139,
"b": 26
},
"hsl": {
"h": 51.364,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.63521,
"c": 0.12426,
"h": 98.8
},
"luminance": 0.25809
}Semantic roles & 50–950 ramp
primary
#9E8B1A
secondary
#4F60C5
accent
#53EE39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A