#8CAA02
Closest named color: Pea Green (#8EAB12). oklch(69% 0.166 121.5), rgb(140, 170, 2).
Aa
Black text reads best on this color (7.86:1).
About this color
#8CAA02 is a medium-light, vivid yellow. In OKLCH its lightness is 69%, 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 Pea Green (#8EAB12), ΔE 0.005 away. Black text reads best on it, at 7.86:1.
| Hue family | Yellows |
| Lightness | medium-light (69%) |
| Chroma | vivid (0.166) |
| Temperature | in between |
| Nearest name | Pea Green (#8EAB12) |
| Black text | 7.86:1 |
| White text | 2.66:1 |
Values
| HEX | #8CAA02 |
| RGB | rgb(140, 170, 2) |
| HSL | hsl(71, 98%, 34%) |
| OKLCH | oklch(69% 0.166 121.5) |
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 #8CAA02 | 2.66:1 | Fails | Lc -56.9 | Large or bold text, headings |
| Black text on #8CAA02 | 7.86:1 | AAA | Lc 52.3 | Large or bold text, headings |
| #8CAA02 text on white | 2.66:1 | Fails | Lc 51.7 | Large or bold text, headings |
| #8CAA02 text on black | 7.86:1 | AAA | Lc -50.2 | 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
#E6EDD7
oklch(93.5% 0.03 121.4)
-
Step 200
200
#D3E0B6
oklch(88.6% 0.058 121.6)
-
Step 300
300
#B6CB7E
oklch(80.8% 0.104 121.2)
-
Step 400
400 (this color)
#8CAA02
oklch(69% 0.166 121.5)
-
Step 500
500
#7C9600
oklch(63% 0.151 121.2)
-
Step 600
600
#677E00
oklch(55.5% 0.134 121.5)
-
Step 700
700
#576A00
oklch(49.1% 0.118 121.1)
-
Step 800
800
#465700
oklch(42.7% 0.103 121.8)
-
Step 900
900
#3A4800
oklch(37.6% 0.091 121.4)
-
Step 950
950
#222B00
oklch(27.1% 0.065 121.1)
#8CAA02 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) | #B59F00 | 0.064 |
| Deuteranopia (no green cones) | #B19E20 | 0.064 |
| Tritanopia (no blue cones) | #94A090 | 0.141 |
| Achromatopsia (no color) | #9E9E9E | 0.166 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8CAA02
#8CAA02
oklch(69% 0.166 121.5)
- #AE7FF0
#AE7FF0
oklch(69% 0.166 301.4)
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 #8CAA02, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pea Green #8EAB12 ΔE 0.005
- Avocado Green #87A922 ΔE 0.011
- Icky Green #8FAE22 ΔE 0.014
- Pea Soup Green #94A617 ΔE 0.017
- Avocado #90B134 ΔE 0.026
- Leaf #71AA34 ΔE 0.034
- Dark Lime #84B701 ΔE 0.036
- Pea Soup #929901 ΔE 0.047
Use #8CAA02 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.