#9E9B15#9E9B15
#9E9B15 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.1% C 0.140 H 108.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9B15 |
|---|---|
| RGB | rgb(158, 155, 21) |
| HSL | hsl(59, 77%, 35%) |
| HSV | hsv(59, 87%, 62%) |
| CMYK | cmyk(0%, 1.9%, 86.7%, 38%) |
| CIE-LAB | lab(62.31, -13.14, 62.08) |
| CIE-LCH | lch(62.31, 63.46, 101.95°) |
| OKLab | oklab(67.06% -0.0437 0.1328) |
| OKLCH | oklch(67.06% 0.14 108.2) |
| XYZ | xyz(25.9584, 30.7668, 5.2805) |
| Luminance | 0.3077 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.84
Pea Soup
#929901
ΔE00 2.85
Puke
#A5A502
ΔE00 3.27
Baby Poop Green
#8F9805
ΔE00 3.51
Baby Shit Green
#889717
ΔE00 5.41
Pea Soup Green
#94A617
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9B15 #15189E
analogous
#9E5615 #9E9B15 #5D9E15
triadic
#9E9B15 #159E9B #9B159E
tetradic
#9E9B15 #159E56 #15189E #9E155D
square
#9E9B15 #159E56 #15189E #9E155D
split-complementary
#9E9B15 #155D9E #56159E
monochromatic
#323107 #68660E #9E9B15 #D4D01C #E7E347
Accessibility & contrast
On white
2.94
#9E9B15 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#9E9B15 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9B15
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9B15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9B15 | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#AB9924
Tritanopia (blue-blind)
#AA9084
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9e9b15; /* rgb */ color: rgb(158, 155, 21); /* oklch */ color: oklch(67.1% 0.140 108.2);
Tailwind
colors: {
custom: {
50: '#bfb863',
500: '#9e9b15',
950: '#000000',
},
}SCSS
$custom: #9e9b15; $custom-light: #bfb863; $custom-dark: #000000;
JSON
{
"hex": "#9e9b15",
"rgb": {
"r": 158,
"g": 155,
"b": 21
},
"hsl": {
"h": 58.686,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.67059,
"c": 0.1398,
"h": 108.2
},
"luminance": 0.30766
}Semantic roles & 50–950 ramp
primary
#9E9B15
secondary
#474AC7
accent
#39F335
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A