#9DAF30#9DAF30
#9DAF30 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.7% C 0.148 H 117.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9DAF30 |
|---|---|
| RGB | rgb(157, 175, 48) |
| HSL | hsl(69, 57%, 44%) |
| HSV | hsv(69, 73%, 69%) |
| CMYK | cmyk(10.3%, 0%, 72.6%, 31.4%) |
| CIE-LAB | lab(68.05, -22.73, 59.20) |
| CIE-LCH | lch(68.05, 63.42, 111.01°) |
| OKLab | oklab(71.68% -0.0681 0.1315) |
| OKLCH | oklch(71.68% 0.148 117.4) |
| XYZ | xyz(29.7688, 38.0418, 8.5703) |
| Luminance | 0.3804 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.40
Booger
#9BB53C
ΔE00 2.51
Sickly Green
#94B21C
ΔE00 2.59
Barf Green
#94AC02
ΔE00 2.69
Icky Green
#8FAE22
ΔE00 2.83
Pea Soup Green
#94A617
ΔE00 2.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9DAF30 #4230AF
analogous
#AF8130 #9DAF30 #5DAF30
triadic
#9DAF30 #309DAF #AF309D
tetradic
#9DAF30 #30AF81 #4230AF #AF305D
square
#9DAF30 #30AF81 #4230AF #AF305D
split-complementary
#9DAF30 #305DAF #8130AF
monochromatic
#474F16 #727F23 #9DAF30 #BCCE4E #CEDC7E
Accessibility & contrast
On white
2.44
#9DAF30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.61
#9DAF30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9DAF30
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9DAF30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9DAF30 | 1.00 | 2.44 | 8.61 | 8.61 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA518
Deuteranopia (green-blind)
#B9A73B
Tritanopia (blue-blind)
#A7A596
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #9daf30; /* rgb */ color: rgb(157, 175, 48); /* oklch */ color: oklch(71.7% 0.148 117.4);
Tailwind
colors: {
custom: {
50: '#bdc671',
500: '#9daf30',
950: '#000000',
},
}SCSS
$custom: #9daf30; $custom-light: #bdc671; $custom-dark: #000000;
JSON
{
"hex": "#9daf30",
"rgb": {
"r": 157,
"g": 175,
"b": 48
},
"hsl": {
"h": 68.504,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.7168,
"c": 0.14809,
"h": 117.4
},
"luminance": 0.38041
}Semantic roles & 50–950 ramp
primary
#9DAF30
secondary
#8276C4
accent
#48E05D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B