#9FAB2A#9FAB2A
#9FAB2A is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.9% C 0.146 H 114.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAB2A |
|---|---|
| RGB | rgb(159, 171, 42) |
| HSL | hsl(66, 61%, 42%) |
| HSV | hsv(66, 75%, 67%) |
| CMYK | cmyk(7%, 0%, 75.4%, 32.9%) |
| CIE-LAB | lab(67.02, -20.18, 60.35) |
| CIE-LCH | lch(67.02, 63.64, 108.49°) |
| OKLab | oklab(70.88% -0.0617 0.1328) |
| OKLCH | oklch(70.88% 0.146 114.9) |
| XYZ | xyz(29.2797, 36.6644, 7.7246) |
| Luminance | 0.3666 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.35
Puke Green
#9AAE07
ΔE00 2.41
Barf Green
#94AC02
ΔE00 2.91
Vomit
#A2A415
ΔE00 3.32
Pea Green
#8EAB12
ΔE00 3.71
Mustard Green
#A8B504
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAB2A #362AAB
analogous
#AB762A #9FAB2A #5FAB2A
triadic
#9FAB2A #2A9FAB #AB2A9F
tetradic
#9FAB2A #2AAB76 #362AAB #AB2A5F
square
#9FAB2A #2AAB76 #362AAB #AB2A5F
split-complementary
#9FAB2A #2A5FAB #762AAB
monochromatic
#444912 #717A1E #9FAB2A #C3D142 #D3DD73
Accessibility & contrast
On white
2.52
#9FAB2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#9FAB2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAB2A
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAB2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAB2A | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A20B
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#AAA193
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #9fab2a; /* rgb */ color: rgb(159, 171, 42); /* oklch */ color: oklch(70.9% 0.146 114.9);
Tailwind
colors: {
custom: {
50: '#bfc36e',
500: '#9fab2a',
950: '#000000',
},
}SCSS
$custom: #9fab2a; $custom-light: #bfc36e; $custom-dark: #000000;
JSON
{
"hex": "#9fab2a",
"rgb": {
"r": 159,
"g": 171,
"b": 42
},
"hsl": {
"h": 65.581,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.70882,
"c": 0.14644,
"h": 114.9
},
"luminance": 0.36664
}Semantic roles & 50–950 ramp
primary
#9FAB2A
secondary
#756DC4
accent
#44E453
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B