#9E8516#9E8516
#9E8516 is a light, vivid yellow. Relative luminance 0.241; OKLCH L 62.2% C 0.122 H 94.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8516 |
|---|---|
| RGB | rgb(158, 133, 22) |
| HSL | hsl(49, 76%, 35%) |
| HSV | hsv(49, 86%, 62%) |
| CMYK | cmyk(0%, 15.8%, 86.1%, 38%) |
| CIE-LAB | lab(56.19, -1.25, 56.79) |
| CIE-LCH | lch(56.19, 56.80, 91.26°) |
| OKLab | oklab(62.2% -0.0104 0.1213) |
| OKLCH | oklch(62.2% 0.122 94.9) |
| XYZ | xyz(22.6342, 24.1034, 4.2192) |
| Luminance | 0.2410 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.33
Dark Mustard
#A88905
ΔE00 2.75
Baby Poop
#937C00
ΔE00 3.53
Yellowy Brown
#AE8B0C
ΔE00 4.10
Yellowish Brown
#9B7A01
ΔE00 4.30
Baby Poo
#AB9004
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8516 #162F9E
analogous
#9E4116 #9E8516 #739E16
triadic
#9E8516 #169E85 #85169E
tetradic
#9E8516 #169E41 #162F9E #9E1673
square
#9E8516 #169E41 #162F9E #9E1673
split-complementary
#9E8516 #16739E #41169E
monochromatic
#332B07 #68580F #9E8516 #D4B21D #E6C949
Accessibility & contrast
On white
3.61
#9E8516 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#9E8516 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8516
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8516 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8516 | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#9B8A1F
Tritanopia (blue-blind)
#AB7971
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9e8516; /* rgb */ color: rgb(158, 133, 22); /* oklch */ color: oklch(62.2% 0.122 94.9);
Tailwind
colors: {
custom: {
50: '#bfa860',
500: '#9e8516',
950: '#000000',
},
}SCSS
$custom: #9e8516; $custom-light: #bfa860; $custom-dark: #000000;
JSON
{
"hex": "#9e8516",
"rgb": {
"r": 158,
"g": 133,
"b": 22
},
"hsl": {
"h": 48.971,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.62197,
"c": 0.12178,
"h": 94.9
},
"luminance": 0.24102
}Semantic roles & 50–950 ramp
primary
#9E8516
secondary
#4960C7
accent
#58F236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A