#9FAB2B
Closest named color: Avocado (#90B134). oklch(70.9% 0.146 114.9), rgb(159, 171, 43).
Aa
Black text reads best on this color (8.33:1).
About this color
#9FAB2B is a medium-light, vivid yellow. In OKLCH its lightness is 71%, its chroma 0.146 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado (#90B134), ΔE 0.023 away. Black text reads best on it, at 8.33:1.
| Hue family | Yellows |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.146) |
| Temperature | in between |
| Nearest name | Avocado (#90B134) |
| Black text | 8.33:1 |
| White text | 2.51:1 |
Values
| HEX | #9FAB2B |
| RGB | rgb(159, 171, 43) |
| HSL | hsl(66, 60%, 42%) |
| OKLCH | oklch(70.9% 0.146 114.9) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #9FAB2B | 2.51:1 | Fails | Lc -54.4 | Large or bold text, headings |
| Black text on #9FAB2B | 8.33:1 | AAA | Lc 54.7 | Large or bold text, headings |
| #9FAB2B text on white | 2.51:1 | Fails | Lc 49.3 | Large or bold text, headings |
| #9FAB2B text on black | 8.33:1 | AAA | Lc -52.7 | Large or bold text, headings |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.
-
Step 50
50
#F5F7ED
oklch(97.2% 0.013 115.8)
-
Step 100
100
#E9ECD9
oklch(93.6% 0.025 114.2)
-
Step 200
200
#D8DEB8
oklch(88.6% 0.051 114.7)
-
Step 300
300
#BEC883
oklch(80.9% 0.091 115.2)
-
Step 400
400 (this color)
#9FAB2B
oklch(70.9% 0.146 114.9)
-
Step 500
500
#889200
oklch(63% 0.142 114.5)
-
Step 600
600
#727B00
oklch(55.6% 0.126 114.8)
-
Step 700
700
#5F6700
oklch(49% 0.111 115)
-
Step 800
800
#4E5400
oklch(42.6% 0.096 114.4)
-
Step 900
900
#414600
oklch(37.7% 0.085 114.3)
-
Step 950
950
#262A00
oklch(27.2% 0.062 115.2)
#9FAB2B with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #B8A20E | 0.040 |
| Deuteranopia (no green cones) | #B7A436 | 0.042 |
| Tritanopia (no blue cones) | #AAA193 | 0.128 |
| Achromatopsia (no color) | #A3A3A3 | 0.146 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9FAB2B
#9FAB2B
oklch(70.9% 0.146 114.9)
- #A88DF2
#A88DF2
oklch(70.9% 0.146 294.7)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #9FAB2B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Avocado #90B134 ΔE 0.023
- Pea Soup Green #94A617 ΔE 0.024
- Icky Green #8FAE22 ΔE 0.024
- Pea Green #8EAB12 ΔE 0.028
- Avocado Green #87A922 ΔE 0.035
- Mustard Green #A8B504 ΔE 0.035
- Muddy Yellow #BFAC05 ΔE 0.046
- Bright Olive #9CBB04 ΔE 0.049
Use #9FAB2B in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.