#42AB42
Closest named color: Medium Green (#39AD48). oklch(65.7% 0.173 143.3), rgb(66, 171, 66).
Aa
Black text reads best on this color (7.13:1).
About this color
#42AB42 is a medium-light, vivid green. In OKLCH its lightness is 66%, its chroma 0.173 and its hue 143°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Green (#39AD48), ΔE 0.007 away. Black text reads best on it, at 7.13:1.
| Hue family | Greens |
| Lightness | medium-light (66%) |
| Chroma | vivid (0.173) |
| Temperature | in between |
| Nearest name | Medium Green (#39AD48) |
| Black text | 7.13:1 |
| White text | 2.94:1 |
Values
| HEX | #42AB42 |
| RGB | rgb(66, 171, 66) |
| HSL | hsl(120, 44%, 46%) |
| OKLCH | oklch(65.7% 0.173 143.3) |
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 #42AB42 | 2.94:1 | Fails | Lc -60.9 | Content text, not long reading |
| Black text on #42AB42 | 7.13:1 | AAA | Lc 48.5 | Large or bold text, headings |
| #42AB42 text on white | 2.94:1 | Fails | Lc 55.5 | Large or bold text, headings |
| #42AB42 text on black | 7.13:1 | AAA | Lc -46.3 | 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 500.
-
Step 50
50
#F1F8F1
oklch(97.2% 0.012 145.5)
-
Step 100
100
#E1EEE0
oklch(93.6% 0.023 143.4)
-
Step 200
200
#C8E2C6
oklch(88.6% 0.047 143.2)
-
Step 300
300
#A0CF9D
oklch(80.8% 0.085 143.2)
-
Step 400
400
#69B667
oklch(70.7% 0.136 143.5)
-
Step 500
500 (this color)
#42AB42
oklch(65.7% 0.173 143.3)
-
Step 600
600
#008C11
oklch(55.5% 0.184 143.3)
-
Step 700
700
#00760D
oklch(49.1% 0.163 143.3)
-
Step 800
800
#006108
oklch(42.7% 0.142 143.2)
-
Step 900
900
#0F5011
oklch(37.8% 0.113 143.3)
-
Step 950
950
#0C2F0C
oklch(27% 0.072 143.3)
#42AB42 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) | #AE9C36 | 0.125 |
| Deuteranopia (no green cones) | #A1934B | 0.125 |
| Tritanopia (no blue cones) | #2EA695 | 0.111 |
| Achromatopsia (no color) | #969696 | 0.174 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #42AB42
#42AB42
oklch(65.7% 0.173 143.3)
- #C367CD
#C367CD
oklch(65.7% 0.174 323.6)
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 #42AB42, closest first.
No curated palette has a color within ΔE 0.04 of #42AB42.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Green #39AD48 ΔE 0.007
- Mid Green #50A747 ΔE 0.017
- Grass #5CAC2D ΔE 0.024
- Shamrock #01B44C ΔE 0.029
- Dark Pastel Green #56AE57 ΔE 0.030
- Kelly Green #02AB2E ΔE 0.032
- Leaf Green #5CA904 ΔE 0.032
- Fern #63A950 ΔE 0.035
Use #42AB42 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.