#9FAC37#9FAC37
#9FAC37 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.2% C 0.139 H 115.5°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAC37 |
|---|---|
| RGB | rgb(159, 172, 55) |
| HSL | hsl(67, 52%, 45%) |
| HSV | hsv(67, 68%, 67%) |
| CMYK | cmyk(7.6%, 0%, 68%, 32.5%) |
| CIE-LAB | lab(67.39, -20.00, 55.96) |
| CIE-LCH | lch(67.39, 59.42, 109.66°) |
| OKLab | oklab(71.2% -0.0599 0.1258) |
| OKLCH | oklch(71.2% 0.139 115.5) |
| XYZ | xyz(29.7409, 37.1523, 9.2181) |
| Luminance | 0.3715 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 3.03
Puke Green
#9AAE07
ΔE00 3.32
Booger
#9BB53C
ΔE00 3.45
Barf Green
#94AC02
ΔE00 3.61
Icky Green
#8FAE22
ΔE00 3.87
Pea Green
#8EAB12
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAC37 #4437AC
analogous
#AC7F37 #9FAC37 #64AC37
triadic
#9FAC37 #379FAC #AC379F
tetradic
#9FAC37 #37AC7F #4437AC #AC3764
square
#9FAC37 #37AC7F #4437AC #AC3764
split-complementary
#9FAC37 #3764AC #7F37AC
monochromatic
#494F19 #747E28 #9FAC37 #BDC957 #CFD885
Accessibility & contrast
On white
2.49
#9FAC37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#9FAC37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAC37
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAC37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAC37 | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A326
Deuteranopia (green-blind)
#B7A540
Tritanopia (blue-blind)
#A9A295
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #9fac37; /* rgb */ color: rgb(159, 172, 55); /* oklch */ color: oklch(71.2% 0.139 115.5);
Tailwind
colors: {
custom: {
50: '#bec475',
500: '#9fac37',
950: '#000000',
},
}SCSS
$custom: #9fac37; $custom-light: #bec475; $custom-dark: #000000;
JSON
{
"hex": "#9fac37",
"rgb": {
"r": 159,
"g": 172,
"b": 55
},
"hsl": {
"h": 66.667,
"s": 51.542,
"l": 44.51
},
"oklch": {
"l": 0.71202,
"c": 0.13934,
"h": 115.5
},
"luminance": 0.37152
}Semantic roles & 50–950 ramp
primary
#9FAC37
secondary
#857DC2
accent
#4DDB5D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121209
muted
#81817B