#96B217
Closest named color: Avocado (#90B134). oklch(71.7% 0.166 120.6), rgb(150, 178, 23).
Aa
Black text reads best on this color (8.67:1).
About this color
#96B217 is a medium-light, vivid yellow. In OKLCH its lightness is 72%, its chroma 0.166 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado (#90B134), ΔE 0.016 away. Black text reads best on it, at 8.67:1.
| Hue family | Yellows |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.166) |
| Temperature | in between |
| Nearest name | Avocado (#90B134) |
| Black text | 8.67:1 |
| White text | 2.42:1 |
Values
| HEX | #96B217 |
| RGB | rgb(150, 178, 23) |
| HSL | hsl(71, 77%, 39%) |
| OKLCH | oklch(71.7% 0.166 120.6) |
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 #96B217 | 2.42:1 | Fails | Lc -52.5 | Large or bold text, headings |
| Black text on #96B217 | 8.67:1 | AAA | Lc 56.5 | Large or bold text, headings |
| #96B217 text on white | 2.42:1 | Fails | Lc 47.5 | Large or bold text, headings |
| #96B217 text on black | 8.67:1 | AAA | Lc -54.6 | 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
#F4F7ED
oklch(97.1% 0.014 120.3)
-
Step 100
100
#E7EDD7
oklch(93.6% 0.03 119.4)
-
Step 200
200
#D3DFB5
oklch(88.4% 0.057 120.5)
-
Step 300
300
#B7CB7E
oklch(80.9% 0.103 120.6)
-
Step 400
400 (this color)
#96B217
oklch(71.7% 0.166 120.6)
-
Step 500
500
#7D9600
oklch(63.1% 0.151 120.8)
-
Step 600
600
#697E00
oklch(55.6% 0.133 120.6)
-
Step 700
700
#586A00
oklch(49.2% 0.117 120.6)
-
Step 800
800
#485700
oklch(42.9% 0.102 120.5)
-
Step 900
900
#3B4800
oklch(37.7% 0.09 120.7)
-
Step 950
950
#222B00
oklch(27.1% 0.065 121.1)
#96B217 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) | #BEA700 | 0.061 |
| Deuteranopia (no green cones) | #BAA72B | 0.061 |
| Tritanopia (no blue cones) | #9FA898 | 0.141 |
| Achromatopsia (no color) | #A6A6A6 | 0.166 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #96B217
#96B217
oklch(71.7% 0.166 120.6)
- #B588FA
#B588FA
oklch(71.6% 0.165 300.5)
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 #96B217, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Avocado #90B134 ΔE 0.016
- Icky Green #8FAE22 ΔE 0.016
- Pea Green #8EAB12 ΔE 0.023
- Mustard Green #A8B504 ΔE 0.026
- Dark Lime #84B701 ΔE 0.027
- Bright Olive #9CBB04 ΔE 0.028
- Pea Soup Green #94A617 ΔE 0.033
- Avocado Green #87A922 ΔE 0.034
Use #96B217 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.