#42AB31
Closest named color: Medium Green (#39AD48). oklch(65.6% 0.186 141.1), rgb(66, 171, 49).
Aa
Black text reads best on this color (7.10:1).
About this color
#42AB31 is a medium-light, vivid green. In OKLCH its lightness is 66%, its chroma 0.186 and its hue 141°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Green (#39AD48), ΔE 0.018 away. Black text reads best on it, at 7.10:1.
| Hue family | Greens |
| Lightness | medium-light (66%) |
| Chroma | vivid (0.186) |
| Temperature | in between |
| Nearest name | Medium Green (#39AD48) |
| Black text | 7.10:1 |
| White text | 2.95:1 |
Values
| HEX | #42AB31 |
| RGB | rgb(66, 171, 49) |
| HSL | hsl(112, 55%, 43%) |
| OKLCH | oklch(65.6% 0.186 141.1) |
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 #42AB31 | 2.95:1 | Fails | Lc -61.0 | Content text, not long reading |
| Black text on #42AB31 | 7.10:1 | AAA | Lc 48.3 | Large or bold text, headings |
| #42AB31 text on white | 2.95:1 | Fails | Lc 55.7 | Large or bold text, headings |
| #42AB31 text on black | 7.10:1 | AAA | Lc -46.1 | 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
#F1F8F0
oklch(97.2% 0.013 141.8)
-
Step 100
100
#E1EFDE
oklch(93.7% 0.027 140.2)
-
Step 200
200
#C8E2C3
oklch(88.5% 0.05 140.6)
-
Step 300
300
#A0D099
oklch(80.9% 0.091 141.4)
-
Step 400
400
#69B75E
oklch(70.8% 0.146 141.3)
-
Step 500
500 (this color)
#42AB31
oklch(65.6% 0.186 141.1)
-
Step 600
600
#1D8B00
oklch(55.5% 0.183 141.1)
-
Step 700
700
#177500
oklch(49% 0.162 141.1)
-
Step 800
800
#116000
oklch(42.6% 0.141 141.1)
-
Step 900
900
#105003
oklch(37.7% 0.121 141)
-
Step 950
950
#0C2F07
oklch(27% 0.077 141.2)
#42AB31 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) | #AF9B1D | 0.128 |
| Deuteranopia (no green cones) | #A2933D | 0.127 |
| Tritanopia (no blue cones) | #32A693 | 0.122 |
| Achromatopsia (no color) | #969696 | 0.187 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #42AB31
#42AB31
oklch(65.6% 0.186 141.1)
- #C264D4
#C264D4
oklch(65.5% 0.185 321)
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 #42AB31, closest first.
No curated palette has a color within ΔE 0.04 of #42AB31.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Green #39AD48 ΔE 0.018
- Grass #5CAC2D ΔE 0.021
- Leaf Green #5CA904 ΔE 0.023
- Kelly Green #02AB2E ΔE 0.024
- Mid Green #50A747 ΔE 0.028
- Shamrock #01B44C ΔE 0.030
- Leafy Green #51B73B ΔE 0.038
- Dark Pastel Green #56AE57 ΔE 0.042
Use #42AB31 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.