#9E9824#9E9824
#9E9824 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.5% C 0.130 H 106.4°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9824 |
|---|---|
| RGB | rgb(158, 152, 36) |
| HSL | hsl(57, 63%, 38%) |
| HSV | hsv(57, 77%, 62%) |
| CMYK | cmyk(0%, 3.8%, 77.2%, 38%) |
| CIE-LAB | lab(61.53, -11.07, 57.22) |
| CIE-LCH | lch(61.53, 58.28, 100.95°) |
| OKLab | oklab(66.46% -0.0368 0.1251) |
| OKLCH | oklch(66.46% 0.13 106.4) |
| XYZ | xyz(25.6483, 29.8539, 6.0801) |
| Luminance | 0.2985 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.69
Baby Poop Green
#8F9805
ΔE00 4.15
Vomit
#A2A415
ΔE00 4.22
Puke
#A5A502
ΔE00 4.73
Baby Shit Green
#889717
ΔE00 5.69
Brown Yellow
#B29705
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9824 #242A9E
analogous
#9E5B24 #9E9824 #679E24
triadic
#9E9824 #249E98 #98249E
tetradic
#9E9824 #249E5B #242A9E #9E2467
square
#9E9824 #249E5B #242A9E #9E2467
split-complementary
#9E9824 #24679E #5B249E
monochromatic
#3A380D #6C6819 #9E9824 #D0C82F #DBD561
Accessibility & contrast
On white
3.01
#9E9824 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#9E9824 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E9824
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9824 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9824 | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69207
Deuteranopia (green-blind)
#A8972D
Tritanopia (blue-blind)
#AA8D82
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9e9824; /* rgb */ color: rgb(158, 152, 36); /* oklch */ color: oklch(66.5% 0.130 106.4);
Tailwind
colors: {
custom: {
50: '#beb669',
500: '#9e9824',
950: '#000000',
},
}SCSS
$custom: #9e9824; $custom-light: #beb669; $custom-dark: #000000;
JSON
{
"hex": "#9e9824",
"rgb": {
"r": 158,
"g": 152,
"b": 36
},
"hsl": {
"h": 57.049,
"s": 62.887,
"l": 38.039
},
"oklch": {
"l": 0.66455,
"c": 0.1304,
"h": 106.4
},
"luminance": 0.29853
}Semantic roles & 50–950 ramp
primary
#9E9824
secondary
#5E62C0
accent
#4AE642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A