#9E9915#9E9915
#9E9915 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.6% C 0.138 H 107.2°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9915 |
|---|---|
| RGB | rgb(158, 153, 21) |
| HSL | hsl(58, 77%, 35%) |
| HSV | hsv(58, 87%, 62%) |
| CMYK | cmyk(0%, 3.2%, 86.7%, 38%) |
| CIE-LAB | lab(61.75, -12.09, 61.62) |
| CIE-LCH | lch(61.75, 62.80, 101.10°) |
| OKLab | oklab(66.61% -0.0408 0.1318) |
| OKLCH | oklch(66.61% 0.138 107.2) |
| XYZ | xyz(25.6283, 30.1067, 5.1705) |
| Luminance | 0.3011 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.19
Vomit
#A2A415
ΔE00 3.56
Baby Poop Green
#8F9805
ΔE00 3.81
Puke
#A5A502
ΔE00 3.90
Baby Shit Green
#889717
ΔE00 5.68
Pea Soup Green
#94A617
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9915 #151A9E
analogous
#9E5415 #9E9915 #5F9E15
triadic
#9E9915 #159E99 #99159E
tetradic
#9E9915 #159E54 #151A9E #9E155F
square
#9E9915 #159E54 #151A9E #9E155F
split-complementary
#9E9915 #155F9E #54159E
monochromatic
#323007 #68650E #9E9915 #D4CD1C #E7E147
Accessibility & contrast
On white
2.99
#9E9915 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#9E9915 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9915
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9915 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9915 | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A99723
Tritanopia (blue-blind)
#AA8E82
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9e9915; /* rgb */ color: rgb(158, 153, 21); /* oklch */ color: oklch(66.6% 0.138 107.2);
Tailwind
colors: {
custom: {
50: '#bfb663',
500: '#9e9915',
950: '#000000',
},
}SCSS
$custom: #9e9915; $custom-light: #bfb663; $custom-dark: #000000;
JSON
{
"hex": "#9e9915",
"rgb": {
"r": 158,
"g": 153,
"b": 21
},
"hsl": {
"h": 57.81,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.66609,
"c": 0.13796,
"h": 107.2
},
"luminance": 0.30106
}Semantic roles & 50–950 ramp
primary
#9E9915
secondary
#474CC7
accent
#3CF335
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A