#9FAC27#9FAC27
#9FAC27 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.149 H 115.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAC27 |
|---|---|
| RGB | rgb(159, 172, 39) |
| HSL | hsl(66, 63%, 41%) |
| HSV | hsv(66, 77%, 67%) |
| CMYK | cmyk(7.6%, 0%, 77.3%, 32.5%) |
| CIE-LAB | lab(67.29, -20.81, 61.57) |
| CIE-LCH | lch(67.29, 64.99, 108.68°) |
| OKLab | oklab(71.09% -0.0637 0.1349) |
| OKLCH | oklch(71.09% 0.149 115.3) |
| XYZ | xyz(29.4177, 37.0230, 7.5155) |
| Luminance | 0.3702 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.03
Pea Soup Green
#94A617
ΔE00 2.38
Barf Green
#94AC02
ΔE00 2.63
Vomit
#A2A415
ΔE00 3.48
Mustard Green
#A8B504
ΔE00 3.52
Pea Green
#8EAB12
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAC27 #3427AC
analogous
#AC7727 #9FAC27 #5DAC27
triadic
#9FAC27 #279FAC #AC279F
tetradic
#9FAC27 #27AC77 #3427AC #AC275D
square
#9FAC27 #27AC77 #3427AC #AC275D
split-complementary
#9FAC27 #275DAC #7727AC
monochromatic
#434810 #717A1C #9FAC27 #C4D33D #D3DE6F
Accessibility & contrast
On white
2.50
#9FAC27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#9FAC27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAC27
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAC27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAC27 | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#AAA293
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #9fac27; /* rgb */ color: rgb(159, 172, 39); /* oklch */ color: oklch(71.1% 0.149 115.3);
Tailwind
colors: {
custom: {
50: '#bfc46d',
500: '#9fac27',
950: '#000000',
},
}SCSS
$custom: #9fac27; $custom-light: #bfc46d; $custom-dark: #000000;
JSON
{
"hex": "#9fac27",
"rgb": {
"r": 159,
"g": 172,
"b": 39
},
"hsl": {
"h": 65.865,
"s": 63.033,
"l": 41.373
},
"oklch": {
"l": 0.71093,
"c": 0.14914,
"h": 115.3
},
"luminance": 0.37022
}Semantic roles & 50–950 ramp
primary
#9FAC27
secondary
#736AC5
accent
#42E652
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B