#12B040
Closest named color: Shamrock (#01B44C). oklch(66.1% 0.194 146.6), rgb(18, 176, 64).
Aa
Black text reads best on this color (7.30:1).
About this color
#12B040 is a medium-light, vivid green. In OKLCH its lightness is 66%, its chroma 0.194 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Shamrock (#01B44C), ΔE 0.014 away. Black text reads best on it, at 7.30:1.
| Hue family | Greens |
| Lightness | medium-light (66%) |
| Chroma | vivid (0.194) |
| Temperature | in between |
| Nearest name | Shamrock (#01B44C) |
| Black text | 7.30:1 |
| White text | 2.87:1 |
Values
| HEX | #12B040 |
| RGB | rgb(18, 176, 64) |
| HSL | hsl(137, 81%, 38%) |
| OKLCH | oklch(66.1% 0.194 146.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 #12B040 | 2.87:1 | Fails | Lc -59.5 | Large or bold text, headings |
| Black text on #12B040 | 7.30:1 | AAA | Lc 49.8 | Large or bold text, headings |
| #12B040 text on white | 2.87:1 | Fails | Lc 54.3 | Large or bold text, headings |
| #12B040 text on black | 7.30:1 | AAA | Lc -47.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 500.
-
Step 50
50
#F0F8F1
oklch(97.1% 0.013 149.3)
-
Step 100
100
#DFEFDF
oklch(93.6% 0.027 145.4)
-
Step 200
200
#C3E3C5
oklch(88.4% 0.053 146.8)
-
Step 300
300
#98D29D
oklch(81% 0.095 146.8)
-
Step 400
400
#57B965
oklch(70.6% 0.152 146.7)
-
Step 500
500 (this color)
#12B040
oklch(66.1% 0.194 146.6)
-
Step 600
600
#008C2F
oklch(55.7% 0.167 146.6)
-
Step 700
700
#007526
oklch(49% 0.147 146.7)
-
Step 800
800
#00601E
oklch(42.6% 0.127 146.7)
-
Step 900
900
#005017
oklch(37.6% 0.113 146.6)
-
Step 950
950
#01300B
oklch(27% 0.08 146.5)
#12B040 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) | #B29F33 | 0.149 |
| Deuteranopia (no green cones) | #A3944A | 0.149 |
| Tritanopia (no blue cones) | #00AC98 | 0.116 |
| Achromatopsia (no color) | #989898 | 0.195 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #12B040
#12B040
oklch(66.1% 0.194 146.6)
- #CD5FD0
#CD5FD0
oklch(66.1% 0.195 326.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 #12B040, closest first.
No curated palette has a color within ΔE 0.04 of #12B040.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Shamrock #01B44C ΔE 0.014
- Kelly Green #02AB2E ΔE 0.019
- Medium Green #39AD48 ΔE 0.020
- Grass #5CAC2D ΔE 0.038
- Leafy Green #51B73B ΔE 0.039
- Mid Green #50A747 ΔE 0.040
- Leaf Green #5CA904 ΔE 0.042
- Cool Green #33B864 ΔE 0.045
Use #12B040 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.