#9E9819#9E9819
#9E9819 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.4% C 0.136 H 106.6°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9819 |
|---|---|
| RGB | rgb(158, 152, 25) |
| HSL | hsl(57, 73%, 36%) |
| HSV | hsv(57, 84%, 62%) |
| CMYK | cmyk(0%, 3.8%, 84.2%, 38%) |
| CIE-LAB | lab(61.48, -11.46, 60.43) |
| CIE-LCH | lch(61.48, 61.51, 100.73°) |
| OKLab | oklab(66.4% -0.0387 0.1299) |
| OKLCH | oklch(66.4% 0.136 106.6) |
| XYZ | xyz(25.5054, 29.7967, 5.3274) |
| Luminance | 0.2980 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.45
Vomit
#A2A415
ΔE00 3.97
Baby Poop Green
#8F9805
ΔE00 4.00
Puke
#A5A502
ΔE00 4.32
Baby Shit Green
#889717
ΔE00 5.79
Brown Yellow
#B29705
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9819 #191F9E
analogous
#9E5519 #9E9819 #619E19
triadic
#9E9819 #199E98 #98199E
tetradic
#9E9819 #199E55 #191F9E #9E1961
square
#9E9819 #199E55 #191F9E #9E1961
split-complementary
#9E9819 #19619E #55199E
monochromatic
#343208 #696511 #9E9819 #D3CB21 #E3DC4E
Accessibility & contrast
On white
3.02
#9E9819 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#9E9819 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E9819
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9819 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9819 | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A89725
Tritanopia (blue-blind)
#AA8D82
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9e9819; /* rgb */ color: rgb(158, 152, 25); /* oklch */ color: oklch(66.4% 0.136 106.6);
Tailwind
colors: {
custom: {
50: '#bfb664',
500: '#9e9819',
950: '#000000',
},
}SCSS
$custom: #9e9819; $custom-light: #bfb664; $custom-dark: #000000;
JSON
{
"hex": "#9e9819",
"rgb": {
"r": 158,
"g": 152,
"b": 25
},
"hsl": {
"h": 57.293,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.664,
"c": 0.13556,
"h": 106.6
},
"luminance": 0.29796
}Semantic roles & 50–950 ramp
primary
#9E9819
secondary
#4E53C5
accent
#41EF38
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A