#9FAB27#9FAB27
#9FAB27 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.9% C 0.148 H 114.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAB27 |
|---|---|
| RGB | rgb(159, 171, 39) |
| HSL | hsl(65, 63%, 41%) |
| HSV | hsv(65, 77%, 67%) |
| CMYK | cmyk(7%, 0%, 77.2%, 32.9%) |
| CIE-LAB | lab(67.01, -20.31, 61.31) |
| CIE-LCH | lch(67.01, 64.59, 108.33°) |
| OKLab | oklab(70.86% -0.0623 0.1343) |
| OKLCH | oklch(70.86% 0.148 114.9) |
| XYZ | xyz(29.2280, 36.6438, 7.4523) |
| Luminance | 0.3664 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.24
Pea Soup Green
#94A617
ΔE00 2.30
Barf Green
#94AC02
ΔE00 2.79
Vomit
#A2A415
ΔE00 3.19
Pea Green
#8EAB12
ΔE00 3.69
Mustard Green
#A8B504
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAB27 #3327AB
analogous
#AB7527 #9FAB27 #5DAB27
triadic
#9FAB27 #279FAB #AB279F
tetradic
#9FAB27 #27AB75 #3327AB #AB275D
square
#9FAB27 #27AB75 #3327AB #AB275D
split-complementary
#9FAB27 #275DAB #7527AB
monochromatic
#424710 #71791C #9FAB27 #C5D33D #D4DE6E
Accessibility & contrast
On white
2.52
#9FAB27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#9FAB27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAB27
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAB27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAB27 | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A201
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#AAA192
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #9fab27; /* rgb */ color: rgb(159, 171, 39); /* oklch */ color: oklch(70.9% 0.148 114.9);
Tailwind
colors: {
custom: {
50: '#bfc36d',
500: '#9fab27',
950: '#000000',
},
}SCSS
$custom: #9fab27; $custom-light: #bfc36d; $custom-dark: #000000;
JSON
{
"hex": "#9fab27",
"rgb": {
"r": 159,
"g": 171,
"b": 39
},
"hsl": {
"h": 65.455,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.70864,
"c": 0.14805,
"h": 114.9
},
"luminance": 0.36643
}Semantic roles & 50–950 ramp
primary
#9FAB27
secondary
#7169C5
accent
#42E651
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B