#9FAF37#9FAF37
#9FAF37 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 71.9% C 0.143 H 116.7°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAF37 |
|---|---|
| RGB | rgb(159, 175, 55) |
| HSL | hsl(68, 52%, 45%) |
| HSV | hsv(68, 69%, 69%) |
| CMYK | cmyk(9.1%, 0%, 68.6%, 31.4%) |
| CIE-LAB | lab(68.25, -21.50, 56.83) |
| CIE-LCH | lch(68.25, 60.76, 110.72°) |
| OKLab | oklab(71.89% -0.0641 0.1276) |
| OKLCH | oklch(71.89% 0.143 116.7) |
| XYZ | xyz(30.3183, 38.3071, 9.4105) |
| Luminance | 0.3831 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.54
Puke Green
#9AAE07
ΔE00 3.07
Sickly Green
#94B21C
ΔE00 3.23
Icky Green
#8FAE22
ΔE00 3.36
Pea Soup Green
#94A617
ΔE00 3.38
Barf Green
#94AC02
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAF37 #4737AF
analogous
#AF8337 #9FAF37 #63AF37
triadic
#9FAF37 #379FAF #AF379F
tetradic
#9FAF37 #37AF83 #4737AF #AF3763
square
#9FAF37 #37AF83 #4737AF #AF3763
split-complementary
#9FAF37 #3763AF #8337AF
monochromatic
#4A521A #758028 #9FAF37 #BBCB59 #CED987
Accessibility & contrast
On white
2.42
#9FAF37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.66
#9FAF37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAF37
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAF37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAF37 | 1.00 | 2.42 | 8.66 | 8.66 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA625
Deuteranopia (green-blind)
#B9A740
Tritanopia (blue-blind)
#A9A597
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #9faf37; /* rgb */ color: rgb(159, 175, 55); /* oklch */ color: oklch(71.9% 0.143 116.7);
Tailwind
colors: {
custom: {
50: '#bec675',
500: '#9faf37',
950: '#000000',
},
}SCSS
$custom: #9faf37; $custom-light: #bec675; $custom-dark: #000000;
JSON
{
"hex": "#9faf37",
"rgb": {
"r": 159,
"g": 175,
"b": 55
},
"hsl": {
"h": 68,
"s": 52.174,
"l": 45.098
},
"oklch": {
"l": 0.71888,
"c": 0.14281,
"h": 116.7
},
"luminance": 0.38307
}Semantic roles & 50–950 ramp
primary
#9FAF37
secondary
#887FC3
accent
#4CDC5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B