#12B42C

Closest named color: Shamrock (#01B44C). oklch(67% 0.212 144.2), rgb(18, 180, 44).

Aa

Black text reads best on this color (7.59:1).

About this color

#12B42C is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.212 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Shamrock (#01B44C), ΔE 0.026 away. Black text reads best on it, at 7.59:1.

Hue familyGreens
Lightnessmedium-light (67%)
Chromavivid (0.212)
Temperaturein between
Nearest nameShamrock (#01B44C)
Black text7.59:1
White text2.76:1

Values

HEX#12B42C
RGBrgb(18, 180, 44)
HSLhsl(130, 82%, 39%)
OKLCHoklch(67% 0.212 144.2)

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 #12B42C 2.76:1 Fails Lc -57.9 Large or bold text, headings
Black text on #12B42C 7.59:1 AAA Lc 51.4 Large or bold text, headings
#12B42C text on white 2.76:1 Fails Lc 52.7 Large or bold text, headings
#12B42C text on black 7.59:1 AAA Lc -49.2 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.

  1. Step 50

    50

    #EFF9EE

    oklch(97.2% 0.018 142.8)

  2. Step 100

    100

    #DBF1DA

    oklch(93.6% 0.038 144.1)

  3. Step 200

    200

    #BCE6BB

    oklch(88.4% 0.073 144.3)

  4. Step 300

    300

    #89D789

    oklch(80.9% 0.133 144.2)

  5. Step 400

    400 (this color)

    #12B42C

    oklch(67% 0.212 144.2)

  6. Step 500

    500

    #00A623

    oklch(63% 0.203 144.1)

  7. Step 600

    600

    #008C1C

    oklch(55.6% 0.179 144.1)

  8. Step 700

    700

    #007616

    oklch(49.1% 0.159 144.1)

  9. Step 800

    800

    #006110

    oklch(42.8% 0.138 144.1)

  10. Step 900

    900

    #00510C

    oklch(37.8% 0.122 144.2)

  11. Step 950

    950

    #003004

    oklch(26.8% 0.087 144)

Export this scale for Tailwind in the Tailwind colors tool

#12B42C 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)#B7A20E0.153
Deuteranopia (no green cones)#A8973B0.155
Tritanopia (no blue cones)#00AF9A0.134
Achromatopsia (no color)#9B9B9B0.212

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #12B42C

    #12B42C

    oklch(67% 0.212 144.2)

  • #D25DDD

    #D25DDD

    oklch(67.1% 0.212 324.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12B42C

    #12B42C

    oklch(67% 0.212 144.2)

  • #959E00

    #959E00

    oklch(66.9% 0.15 113.8)

  • #00AE8F

    #00AE8F

    oklch(67% 0.128 173.9)

Open the analogous palette in the generator

Split complementary

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

  • #12B42C

    #12B42C

    oklch(67% 0.212 144.2)

  • #9F76FF

    #9F76FF

    oklch(67% 0.196 294.3)

  • #F14D9E

    #F14D9E

    oklch(67% 0.212 354)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12B42C

    #12B42C

    oklch(67% 0.212 144.2)

  • #5D8FFF

    #5D8FFF

    oklch(66.9% 0.174 264.1)

  • #FD4D50

    #FD4D50

    oklch(67% 0.212 24.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12B42C

    #12B42C

    oklch(67% 0.212 144.2)

  • #00A2DE

    #00A2DE

    oklch(67.1% 0.14 234)

  • #D25DDD

    #D25DDD

    oklch(67.1% 0.212 324.2)

  • #E17300

    #E17300

    oklch(67% 0.167 54.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #12B42C, closest first.

No curated palette has a color within ΔE 0.04 of #12B42C.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #12B42C 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.