#12B158
Closest named color: Shamrock (#01B44C). oklch(66.7% 0.175 151), rgb(18, 177, 88).
Aa
Black text reads best on this color (7.45:1).
About this color
#12B158 is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.175 and its hue 151°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Shamrock (#01B44C), ΔE 0.018 away. Black text reads best on it, at 7.45:1.
| Hue family | Greens |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.175) |
| Temperature | in between |
| Nearest name | Shamrock (#01B44C) |
| Black text | 7.45:1 |
| White text | 2.81:1 |
Values
| HEX | #12B158 |
| RGB | rgb(18, 177, 88) |
| HSL | hsl(146, 82%, 38%) |
| OKLCH | oklch(66.7% 0.175 151) |
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 #12B158 | 2.81:1 | Fails | Lc -58.8 | Large or bold text, headings |
| Black text on #12B158 | 7.45:1 | AAA | Lc 50.5 | Large or bold text, headings |
| #12B158 text on white | 2.81:1 | Fails | Lc 53.5 | Large or bold text, headings |
| #12B158 text on black | 7.45:1 | AAA | Lc -48.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
#F0F8F2
oklch(97.1% 0.012 153.7)
-
Step 100
100
#DFEFE2
oklch(93.7% 0.024 151.2)
-
Step 200
200
#C3E3C9
oklch(88.5% 0.049 150.7)
-
Step 300
300
#98D1A4
oklch(80.9% 0.086 150.6)
-
Step 400
400
#56B873
oklch(70.6% 0.137 151.1)
-
Step 500
500 (this color)
#12B158
oklch(66.7% 0.175 151)
-
Step 600
600
#008B42
oklch(55.7% 0.15 151)
-
Step 700
700
#007536
oklch(49.2% 0.133 150.8)
-
Step 800
800
#00602B
oklch(42.8% 0.116 150.8)
-
Step 900
900
#005023
oklch(37.7% 0.102 150.9)
-
Step 950
950
#003012
oklch(27% 0.073 150.7)
#12B158 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) | #B2A151 | 0.147 |
| Deuteranopia (no green cones) | #A1955F | 0.145 |
| Tritanopia (no blue cones) | #00AE9C | 0.096 |
| Achromatopsia (no color) | #9A9A9A | 0.177 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #12B158
#12B158
oklch(66.7% 0.175 151)
- #CF66C5
#CF66C5
oklch(66.7% 0.175 331)
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 #12B158, closest first.
No curated palette has a color within ΔE 0.04 of #12B158.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Shamrock #01B44C ΔE 0.018
- Medium Green #39AD48 ΔE 0.018
- Jade Green #2BAF6A ΔE 0.027
- Cool Green #33B864 ΔE 0.027
- Seaweed Green #35AD6B ΔE 0.033
- Dark Pastel Green #56AE57 ΔE 0.034
- Mid Green #50A747 ΔE 0.035
- Green Teal #0CB577 ΔE 0.037
Use #12B158 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.