#9D9E18#9D9E18
#9D9E18 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.7% C 0.142 H 110.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9D9E18 |
|---|---|
| RGB | rgb(157, 158, 24) |
| HSL | hsl(60, 74%, 36%) |
| HSV | hsv(60, 85%, 62%) |
| CMYK | cmyk(0.6%, 0%, 84.8%, 38%) |
| CIE-LAB | lab(63.08, -15.07, 62.00) |
| CIE-LCH | lch(63.08, 63.80, 103.67°) |
| OKLab | oklab(67.66% -0.0488 0.1332) |
| OKLCH | oklch(67.66% 0.142 110.1) |
| XYZ | xyz(26.2974, 31.6886, 5.5952) |
| Luminance | 0.3169 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.89
Pea Soup
#929901
ΔE00 2.49
Puke
#A5A502
ΔE00 2.66
Baby Poop Green
#8F9805
ΔE00 3.13
Pea Soup Green
#94A617
ΔE00 4.34
Baby Shit Green
#889717
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D9E18 #19189E
analogous
#9E5C18 #9D9E18 #5A9E18
triadic
#9D9E18 #189D9E #9E189D
tetradic
#9D9E18 #189E5C #19189E #9E185A
square
#9D9E18 #189E5C #19189E #9E185A
split-complementary
#9D9E18 #185A9E #5C189E
monochromatic
#333408 #686910 #9D9E18 #D2D320 #E3E44D
Accessibility & contrast
On white
2.86
#9D9E18 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#9D9E18 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D9E18
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D9E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D9E18 | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AD9A26
Tritanopia (blue-blind)
#A99387
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9d9e18; /* rgb */ color: rgb(157, 158, 24); /* oklch */ color: oklch(67.7% 0.142 110.1);
Tailwind
colors: {
custom: {
50: '#beba65',
500: '#9d9e18',
950: '#000000',
},
}SCSS
$custom: #9d9e18; $custom-light: #beba65; $custom-dark: #000000;
JSON
{
"hex": "#9d9e18",
"rgb": {
"r": 157,
"g": 158,
"b": 24
},
"hsl": {
"h": 60.448,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.67661,
"c": 0.14184,
"h": 110.1
},
"luminance": 0.31688
}Semantic roles & 50–950 ramp
primary
#9D9E18
secondary
#4D4CC6
accent
#38F039
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A