#9FAB37#9FAB37
#9FAB37 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.0% C 0.138 H 115.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAB37 |
|---|---|
| RGB | rgb(159, 171, 55) |
| HSL | hsl(66, 51%, 44%) |
| HSV | hsv(66, 68%, 67%) |
| CMYK | cmyk(7%, 0%, 67.8%, 32.9%) |
| CIE-LAB | lab(67.11, -19.49, 55.67) |
| CIE-LCH | lch(67.11, 58.98, 109.30°) |
| OKLab | oklab(70.97% -0.0585 0.1252) |
| OKLCH | oklch(70.97% 0.138 115.1) |
| XYZ | xyz(29.5513, 36.7731, 9.1549) |
| Luminance | 0.3677 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.98
Puke Green
#9AAE07
ΔE00 3.47
Barf Green
#94AC02
ΔE00 3.75
Booger
#9BB53C
ΔE00 3.77
Pea Green
#8EAB12
ΔE00 4.09
Icky Green
#8FAE22
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAB37 #4337AB
analogous
#AB7D37 #9FAB37 #65AB37
triadic
#9FAB37 #379FAB #AB379F
tetradic
#9FAB37 #37AB7D #4337AB #AB3765
square
#9FAB37 #37AB7D #4337AB #AB3765
split-complementary
#9FAB37 #3765AB #7D37AB
monochromatic
#494E19 #747D28 #9FAB37 #BDC956 #CFD885
Accessibility & contrast
On white
2.51
#9FAB37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#9FAB37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAB37
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAB37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAB37 | 1.00 | 2.51 | 8.35 | 8.35 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A226
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#A9A194
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #9fab37; /* rgb */ color: rgb(159, 171, 55); /* oklch */ color: oklch(71.0% 0.138 115.1);
Tailwind
colors: {
custom: {
50: '#bec375',
500: '#9fab37',
950: '#000000',
},
}SCSS
$custom: #9fab37; $custom-light: #bec375; $custom-dark: #000000;
JSON
{
"hex": "#9fab37",
"rgb": {
"r": 159,
"g": 171,
"b": 55
},
"hsl": {
"h": 66.207,
"s": 51.327,
"l": 44.314
},
"oklch": {
"l": 0.70974,
"c": 0.13818,
"h": 115.1
},
"luminance": 0.36773
}Semantic roles & 50–950 ramp
primary
#9FAB37
secondary
#847CC1
accent
#4DDB5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121209
muted
#81817B