#9E9B18#9E9B18
#9E9B18 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.1% C 0.139 H 108.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9B18 |
|---|---|
| RGB | rgb(158, 155, 24) |
| HSL | hsl(59, 74%, 36%) |
| HSV | hsv(59, 85%, 62%) |
| CMYK | cmyk(0%, 1.9%, 84.8%, 38%) |
| CIE-LAB | lab(62.32, -13.06, 61.39) |
| CIE-LCH | lch(62.32, 62.77, 102.01°) |
| OKLab | oklab(67.07% -0.0433 0.1318) |
| OKLCH | oklch(67.07% 0.139 108.2) |
| XYZ | xyz(25.9879, 30.7786, 5.4359) |
| Luminance | 0.3078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.86
Vomit
#A2A415
ΔE00 2.87
Puke
#A5A502
ΔE00 3.35
Baby Poop Green
#8F9805
ΔE00 3.51
Baby Shit Green
#889717
ΔE00 5.36
Pea Soup Green
#94A617
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9B18 #181B9E
analogous
#9E5818 #9E9B18 #5E9E18
triadic
#9E9B18 #189E9B #9B189E
tetradic
#9E9B18 #189E58 #181B9E #9E185E
square
#9E9B18 #189E58 #181B9E #9E185E
split-complementary
#9E9B18 #185E9E #58189E
monochromatic
#343308 #696710 #9E9B18 #D3CF20 #E4E04D
Accessibility & contrast
On white
2.93
#9E9B18 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#9E9B18 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9B18
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9B18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9B18 | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#AB9925
Tritanopia (blue-blind)
#AA9084
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9e9b18; /* rgb */ color: rgb(158, 155, 24); /* oklch */ color: oklch(67.1% 0.139 108.2);
Tailwind
colors: {
custom: {
50: '#bfb864',
500: '#9e9b18',
950: '#000000',
},
}SCSS
$custom: #9e9b18; $custom-light: #bfb864; $custom-dark: #000000;
JSON
{
"hex": "#9e9b18",
"rgb": {
"r": 158,
"g": 155,
"b": 24
},
"hsl": {
"h": 58.657,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.67071,
"c": 0.13873,
"h": 108.2
},
"luminance": 0.30778
}Semantic roles & 50–950 ramp
primary
#9E9B18
secondary
#4C4FC6
accent
#3CF038
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A