#9FAC2C#9FAC2C
#9FAC2C is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.1% C 0.146 H 115.3°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAC2C |
|---|---|
| RGB | rgb(159, 172, 44) |
| HSL | hsl(66, 59%, 42%) |
| HSV | hsv(66, 74%, 67%) |
| CMYK | cmyk(7.6%, 0%, 74.4%, 32.5%) |
| CIE-LAB | lab(67.32, -20.59, 59.96) |
| CIE-LCH | lch(67.32, 63.39, 108.95°) |
| OKLab | oklab(71.12% -0.0626 0.1323) |
| OKLCH | oklch(71.12% 0.146 115.3) |
| XYZ | xyz(29.5060, 37.0583, 7.9810) |
| Luminance | 0.3706 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.35
Pea Soup Green
#94A617
ΔE00 2.47
Barf Green
#94AC02
ΔE00 2.85
Pea Green
#8EAB12
ΔE00 3.59
Sickly Green
#94B21C
ΔE00 3.63
Vomit
#A2A415
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAC2C #392CAC
analogous
#AC792C #9FAC2C #5FAC2C
triadic
#9FAC2C #2C9FAC #AC2C9F
tetradic
#9FAC2C #2CAC79 #392CAC #AC2C5F
square
#9FAC2C #2CAC79 #392CAC #AC2C5F
split-complementary
#9FAC2C #2C5FAC #792CAC
monochromatic
#454B13 #727B20 #9FAC2C #C2D046 #D2DC76
Accessibility & contrast
On white
2.50
#9FAC2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#9FAC2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAC2C
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAC2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAC2C | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A310
Deuteranopia (green-blind)
#B8A537
Tritanopia (blue-blind)
#A9A294
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #9fac2c; /* rgb */ color: rgb(159, 172, 44); /* oklch */ color: oklch(71.1% 0.146 115.3);
Tailwind
colors: {
custom: {
50: '#bfc46f',
500: '#9fac2c',
950: '#000000',
},
}SCSS
$custom: #9fac2c; $custom-light: #bfc46f; $custom-dark: #000000;
JSON
{
"hex": "#9fac2c",
"rgb": {
"r": 159,
"g": 172,
"b": 44
},
"hsl": {
"h": 66.094,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.71123,
"c": 0.14641,
"h": 115.3
},
"luminance": 0.37058
}Semantic roles & 50–950 ramp
primary
#9FAC2C
secondary
#7870C4
accent
#45E255
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B