#9E8B1B#9E8B1B
#9E8B1B 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 | #9E8B1B |
|---|---|
| RGB | rgb(158, 139, 27) |
| HSL | hsl(51, 71%, 36%) |
| HSV | hsv(51, 83%, 62%) |
| CMYK | cmyk(0%, 12%, 82.9%, 38%) |
| CIE-LAB | lab(57.86, -4.40, 56.79) |
| CIE-LCH | lch(57.86, 56.96, 94.43°) |
| OKLab | oklab(63.53% -0.0188 0.1224) |
| OKLCH | oklch(63.53% 0.124 98.8) |
| XYZ | xyz(23.5322, 25.8147, 4.7799) |
| Luminance | 0.2581 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.58
Diarrhea
#9F8303
ΔE00 3.62
Dark Mustard
#A88905
ΔE00 3.75
Baby Shit Brown
#AD900D
ΔE00 3.93
Yellowy Brown
#AE8B0C
ΔE00 4.96
Baby Poop
#937C00
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8B1B #1B2E9E
analogous
#9E4A1B #9E8B1B #709E1B
triadic
#9E8B1B #1B9E8B #8B1B9E
tetradic
#9E8B1B #1B9E4A #1B2E9E #9E1B70
square
#9E8B1B #1B9E4A #1B2E9E #9E1B70
split-complementary
#9E8B1B #1B709E #4A1B9E
monochromatic
#352F09 #6A5D12 #9E8B1B #D2B924 #E1CD52
Accessibility & contrast
On white
3.41
#9E8B1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#9E8B1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8B1B
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8B1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8B1B | 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)
#9F8E24
Tritanopia (blue-blind)
#AB8077
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9e8b1b; /* rgb */ color: rgb(158, 139, 27); /* oklch */ color: oklch(63.5% 0.124 98.8);
Tailwind
colors: {
custom: {
50: '#bfac63',
500: '#9e8b1b',
950: '#000000',
},
}SCSS
$custom: #9e8b1b; $custom-light: #bfac63; $custom-dark: #000000;
JSON
{
"hex": "#9e8b1b",
"rgb": {
"r": 158,
"g": 139,
"b": 27
},
"hsl": {
"h": 51.298,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.63526,
"c": 0.12382,
"h": 98.8
},
"luminance": 0.25813
}Semantic roles & 50–950 ramp
primary
#9E8B1B
secondary
#5161C4
accent
#54EE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A