#42B04D
Closest named color: Medium Green (#39AD48). oklch(67.2% 0.171 145.1), rgb(66, 176, 77).
Aa
Black text reads best on this color (7.54:1).
About this color
#42B04D is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.171 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Green (#39AD48), ΔE 0.012 away. Black text reads best on it, at 7.54:1.
| Hue family | Greens |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.171) |
| Temperature | in between |
| Nearest name | Medium Green (#39AD48) |
| Black text | 7.54:1 |
| White text | 2.78:1 |
Values
| HEX | #42B04D |
| RGB | rgb(66, 176, 77) |
| HSL | hsl(126, 45%, 47%) |
| OKLCH | oklch(67.2% 0.171 145.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 #42B04D | 2.78:1 | Fails | Lc -58.5 | Large or bold text, headings |
| Black text on #42B04D | 7.54:1 | AAA | Lc 50.8 | Large or bold text, headings |
| #42B04D text on white | 2.78:1 | Fails | Lc 53.2 | Large or bold text, headings |
| #42B04D text on black | 7.54:1 | AAA | Lc -48.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
#F0F8F0
oklch(97.1% 0.014 145.5)
-
Step 100
100
#DEF0DE
oklch(93.7% 0.031 145.3)
-
Step 200
200
#C2E4C2
oklch(88.5% 0.058 145.1)
-
Step 300
300
#94D396
oklch(80.8% 0.106 145.3)
-
Step 400
400 (this color)
#42B04D
oklch(67.2% 0.171 145.1)
-
Step 500
500
#00A62D
oklch(63% 0.198 145.1)
-
Step 600
600
#008C24
oklch(55.6% 0.175 145)
-
Step 700
700
#00761D
oklch(49.2% 0.154 145)
-
Step 800
800
#006116
oklch(42.8% 0.135 145)
-
Step 900
900
#005111
oklch(37.8% 0.119 145.1)
-
Step 950
950
#003007
oklch(26.9% 0.084 145.2)
#42B04D 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) | #B3A144 | 0.129 |
| Deuteranopia (no green cones) | #A59755 | 0.129 |
| Tritanopia (no blue cones) | #29AC9A | 0.104 |
| Achromatopsia (no color) | #9B9B9B | 0.172 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #42B04D
#42B04D
oklch(67.2% 0.171 145.1)
- #C96CCF
#C96CCF
oklch(67.3% 0.171 325)
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 #42B04D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Green #39AD48 ΔE 0.012
- Dark Pastel Green #56AE57 ΔE 0.022
- Shamrock #01B44C ΔE 0.023
- Mid Green #50A747 ΔE 0.025
- Grass #5CAC2D ΔE 0.027
- Cool Green #33B864 ΔE 0.028
- Leafy Green #51B73B ΔE 0.031
- Fern #63A950 ΔE 0.033
Use #42B04D 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.