#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 familyGreens
Lightnessmedium-light (67%)
Chromavivid (0.175)
Temperaturein between
Nearest nameShamrock (#01B44C)
Black text7.45:1
White text2.81:1

Values

HEX#12B158
RGBrgb(18, 177, 88)
HSLhsl(146, 82%, 38%)
OKLCHoklch(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.

PairWCAG 2ResultAPCAAPCA 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.

  1. Step 50

    50

    #F0F8F2

    oklch(97.1% 0.012 153.7)

  2. Step 100

    100

    #DFEFE2

    oklch(93.7% 0.024 151.2)

  3. Step 200

    200

    #C3E3C9

    oklch(88.5% 0.049 150.7)

  4. Step 300

    300

    #98D1A4

    oklch(80.9% 0.086 150.6)

  5. Step 400

    400

    #56B873

    oklch(70.6% 0.137 151.1)

  6. Step 500

    500 (this color)

    #12B158

    oklch(66.7% 0.175 151)

  7. Step 600

    600

    #008B42

    oklch(55.7% 0.15 151)

  8. Step 700

    700

    #007536

    oklch(49.2% 0.133 150.8)

  9. Step 800

    800

    #00602B

    oklch(42.8% 0.116 150.8)

  10. Step 900

    900

    #005023

    oklch(37.7% 0.102 150.9)

  11. Step 950

    950

    #003012

    oklch(27% 0.073 150.7)

Export this scale for Tailwind in the Tailwind colors tool

#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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#B2A1510.147
Deuteranopia (no green cones)#A1955F0.145
Tritanopia (no blue cones)#00AE9C0.096
Achromatopsia (no color)#9A9A9A0.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)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12B158

    #12B158

    oklch(66.7% 0.175 151)

  • #86A200

    #86A200

    oklch(66.7% 0.16 121.2)

  • #00AC98

    #00AC98

    oklch(66.7% 0.121 180.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #12B158

    #12B158

    oklch(66.7% 0.175 151)

  • #A876ED

    #A876ED

    oklch(66.7% 0.175 301.2)

  • #E65D8E

    #E65D8E

    oklch(66.6% 0.176 0.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12B158

    #12B158

    oklch(66.7% 0.175 151)

  • #6E89FF

    #6E89FF

    oklch(66.6% 0.176 271.2)

  • #EC624C

    #EC624C

    oklch(66.7% 0.175 31.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12B158

    #12B158

    oklch(66.7% 0.175 151)

  • #009EEA

    #009EEA

    oklch(66.8% 0.155 240.9)

  • #CF66C5

    #CF66C5

    oklch(66.7% 0.175 331)

  • #D67A00

    #D67A00

    oklch(66.7% 0.154 61.3)

Open the square palette in the generator

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.

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.