#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 familyGreens
Lightnessmedium-light (66%)
Chromavivid (0.194)
Temperaturein between
Nearest nameShamrock (#01B44C)
Black text7.30:1
White text2.87:1

Values

HEX#12B040
RGBrgb(18, 176, 64)
HSLhsl(137, 81%, 38%)
OKLCHoklch(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.

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

  1. Step 50

    50

    #F0F8F1

    oklch(97.1% 0.013 149.3)

  2. Step 100

    100

    #DFEFDF

    oklch(93.6% 0.027 145.4)

  3. Step 200

    200

    #C3E3C5

    oklch(88.4% 0.053 146.8)

  4. Step 300

    300

    #98D29D

    oklch(81% 0.095 146.8)

  5. Step 400

    400

    #57B965

    oklch(70.6% 0.152 146.7)

  6. Step 500

    500 (this color)

    #12B040

    oklch(66.1% 0.194 146.6)

  7. Step 600

    600

    #008C2F

    oklch(55.7% 0.167 146.6)

  8. Step 700

    700

    #007526

    oklch(49% 0.147 146.7)

  9. Step 800

    800

    #00601E

    oklch(42.6% 0.127 146.7)

  10. Step 900

    900

    #005017

    oklch(37.6% 0.113 146.6)

  11. Step 950

    950

    #01300B

    oklch(27% 0.08 146.5)

Export this scale for Tailwind in the Tailwind colors tool

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

VisionSeen asShift (ΔE)
Protanopia (no red cones)#B29F330.149
Deuteranopia (no green cones)#A3944A0.149
Tritanopia (no blue cones)#00AC980.116
Achromatopsia (no color)#9898980.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)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12B040

    #12B040

    oklch(66.1% 0.194 146.6)

  • #8E9D00

    #8E9D00

    oklch(66.1% 0.152 116.4)

  • #00AA90

    #00AA90

    oklch(66% 0.123 176.6)

Open the analogous palette in the generator

Split complementary

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

  • #12B040

    #12B040

    oklch(66.1% 0.194 146.6)

  • #A072F9

    #A072F9

    oklch(66.1% 0.194 296.4)

  • #E95395

    #E95395

    oklch(66.1% 0.194 356.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12B040

    #12B040

    oklch(66.1% 0.194 146.6)

  • #608AFF

    #608AFF

    oklch(66.1% 0.179 266.7)

  • #F2554D

    #F2554D

    oklch(66% 0.194 26.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12B040

    #12B040

    oklch(66.1% 0.194 146.6)

  • #009EDE

    #009EDE

    oklch(66.2% 0.143 236.3)

  • #CD5FD0

    #CD5FD0

    oklch(66.1% 0.195 326.5)

  • #DA7300

    #DA7300

    oklch(66.1% 0.161 56.3)

Open the square palette in the generator

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.

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.