#9E8616#9E8616
#9E8616 is a light, vivid yellow. Relative luminance 0.244; OKLCH L 62.4% C 0.122 H 95.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8616 |
|---|---|
| RGB | rgb(158, 134, 22) |
| HSL | hsl(49, 76%, 35%) |
| HSV | hsv(49, 86%, 62%) |
| CMYK | cmyk(0%, 15.2%, 86.1%, 38%) |
| CIE-LAB | lab(56.46, -1.80, 57.02) |
| CIE-LCH | lch(56.46, 57.05, 91.81°) |
| OKLab | oklab(62.41% -0.0119 0.1218) |
| OKLCH | oklch(62.41% 0.122 95.6) |
| XYZ | xyz(22.7718, 24.3786, 4.2650) |
| Luminance | 0.2438 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.63
Dark Mustard
#A88905
ΔE00 2.75
Baby Poop
#937C00
ΔE00 3.76
Baby Poo
#AB9004
ΔE00 4.05
Yellowy Brown
#AE8B0C
ΔE00 4.13
Baby Shit Brown
#AD900D
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8616 #162E9E
analogous
#9E4216 #9E8616 #729E16
triadic
#9E8616 #169E86 #86169E
tetradic
#9E8616 #169E42 #162E9E #9E1672
square
#9E8616 #169E42 #162E9E #9E1672
split-complementary
#9E8616 #16729E #42169E
monochromatic
#332B07 #68580F #9E8616 #D4B41D #E6CA49
Accessibility & contrast
On white
3.57
#9E8616 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#9E8616 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8616
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8616 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8616 | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#9B8B1F
Tritanopia (blue-blind)
#AB7A72
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9e8616; /* rgb */ color: rgb(158, 134, 22); /* oklch */ color: oklch(62.4% 0.122 95.6);
Tailwind
colors: {
custom: {
50: '#bfa860',
500: '#9e8616',
950: '#000000',
},
}SCSS
$custom: #9e8616; $custom-light: #bfa860; $custom-dark: #000000;
JSON
{
"hex": "#9e8616",
"rgb": {
"r": 158,
"g": 134,
"b": 22
},
"hsl": {
"h": 49.412,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.62414,
"c": 0.12242,
"h": 95.6
},
"luminance": 0.24377
}Semantic roles & 50–950 ramp
primary
#9E8616
secondary
#495FC7
accent
#57F236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A