#9FAB30#9FAB30
#9FAB30 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.9% C 0.143 H 115.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAB30 |
|---|---|
| RGB | rgb(159, 171, 48) |
| HSL | hsl(66, 56%, 43%) |
| HSV | hsv(66, 72%, 67%) |
| CMYK | cmyk(7%, 0%, 71.9%, 32.9%) |
| CIE-LAB | lab(67.06, -19.89, 58.29) |
| CIE-LCH | lch(67.06, 61.59, 108.84°) |
| OKLab | oklab(70.92% -0.0603 0.1295) |
| OKLCH | oklch(70.92% 0.143 115) |
| XYZ | xyz(29.3953, 36.7107, 8.3331) |
| Luminance | 0.3671 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.56
Puke Green
#9AAE07
ΔE00 2.84
Barf Green
#94AC02
ΔE00 3.23
Vomit
#A2A415
ΔE00 3.64
Pea Green
#8EAB12
ΔE00 3.82
Booger
#9BB53C
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAB30 #3C30AB
analogous
#AB7A30 #9FAB30 #61AB30
triadic
#9FAB30 #309FAB #AB309F
tetradic
#9FAB30 #30AB7A #3C30AB #AB3061
square
#9FAB30 #30AB7A #3C30AB #AB3061
split-complementary
#9FAB30 #3061AB #7A30AB
monochromatic
#464B15 #737B23 #9FAB30 #C0CD4C #D1DA7B
Accessibility & contrast
On white
2.52
#9FAB30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#9FAB30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAB30
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAB30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAB30 | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A21A
Deuteranopia (green-blind)
#B7A43A
Tritanopia (blue-blind)
#A9A193
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #9fab30; /* rgb */ color: rgb(159, 171, 48); /* oklch */ color: oklch(70.9% 0.143 115.0);
Tailwind
colors: {
custom: {
50: '#bfc371',
500: '#9fab30',
950: '#000000',
},
}SCSS
$custom: #9fab30; $custom-light: #bfc371; $custom-dark: #000000;
JSON
{
"hex": "#9fab30",
"rgb": {
"r": 159,
"g": 171,
"b": 48
},
"hsl": {
"h": 65.854,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.70921,
"c": 0.14288,
"h": 115
},
"luminance": 0.3671
}Semantic roles & 50–950 ramp
primary
#9FAB30
secondary
#7C74C3
accent
#48DF57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B