#9DB31D#9DB31D
#9DB31D is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.5% C 0.162 H 118.4°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9DB31D |
|---|---|
| RGB | rgb(157, 179, 29) |
| HSL | hsl(69, 72%, 41%) |
| HSV | hsv(69, 84%, 70%) |
| CMYK | cmyk(12.3%, 0%, 83.8%, 29.8%) |
| CIE-LAB | lab(69.11, -25.49, 65.89) |
| CIE-LCH | lch(69.11, 70.65, 111.15°) |
| OKLab | oklab(72.5% -0.0771 0.1425) |
| OKLCH | oklch(72.5% 0.162 118.4) |
| XYZ | xyz(30.2472, 39.4973, 7.1925) |
| Luminance | 0.3950 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.61
Booger Green
#96B403
ΔE00 1.62
Sickly Green
#94B21C
ΔE00 1.85
Sick Green
#9DB92C
ΔE00 2.14
Barf Green
#94AC02
ΔE00 2.24
Bright Olive
#9CBB04
ΔE00 2.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9DB31D #331DB3
analogous
#B37E1D #9DB31D #52B31D
triadic
#9DB31D #1D9DB3 #B31D9D
tetradic
#9DB31D #1DB37E #331DB3 #B31D52
square
#9DB31D #1DB37E #331DB3 #B31D52
split-complementary
#9DB31D #1D52B3 #7E1DB3
monochromatic
#414A0C #6F7E14 #9DB31D #C4DD30 #D3E664
Accessibility & contrast
On white
2.36
#9DB31D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#9DB31D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9DB31D
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9DB31D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9DB31D | 1.00 | 2.36 | 8.90 | 8.90 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#BDA92E
Tritanopia (blue-blind)
#A7A999
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #9db31d; /* rgb */ color: rgb(157, 179, 29); /* oklch */ color: oklch(72.5% 0.162 118.4);
Tailwind
colors: {
custom: {
50: '#bec96a',
500: '#9db31d',
950: '#000000',
},
}SCSS
$custom: #9db31d; $custom-light: #bec96a; $custom-dark: #000000;
JSON
{
"hex": "#9db31d",
"rgb": {
"r": 157,
"g": 179,
"b": 29
},
"hsl": {
"h": 68.8,
"s": 72.115,
"l": 40.784
},
"oklch": {
"l": 0.72503,
"c": 0.16201,
"h": 118.4
},
"luminance": 0.39497
}Semantic roles & 50–950 ramp
primary
#9DB31D
secondary
#7061CB
accent
#39EF54
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A