#0CC145

Closest named color: Shamrock Green (#02C14D). oklch(70.7% 0.21 146.6), rgb(12, 193, 69).

Aa

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

About this color

#0CC145 is a medium-light, vivid green. In OKLCH its lightness is 71%, its chroma 0.210 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Shamrock Green (#02C14D), ΔE 0.007 away. Black text reads best on it, at 8.72:1.

Hue familyGreens
Lightnessmedium-light (71%)
Chromavivid (0.210)
Temperaturein between
Nearest nameShamrock Green (#02C14D)
Black text8.72:1
White text2.40:1

Values

HEX#0CC145
RGBrgb(12, 193, 69)
HSLhsl(139, 88%, 40%)
OKLCHoklch(70.7% 0.21 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 #0CC145 2.40:1 Fails Lc -51.6 Large or bold text, headings
Black text on #0CC145 8.72:1 AAA Lc 57.3 Large or bold text, headings
#0CC145 text on white 2.40:1 Fails Lc 46.6 Large or bold text, headings
#0CC145 text on black 8.72:1 AAA Lc -55.4 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

    #EEF9EF

    oklch(97.1% 0.018 148.1)

  2. Step 100

    100

    #DAF1DB

    oklch(93.5% 0.038 146.5)

  3. Step 200

    200

    #BAE7BD

    oklch(88.5% 0.074 146.7)

  4. Step 300

    300

    #85D78D

    oklch(80.8% 0.131 146.5)

  5. Step 400

    400 (this color)

    #0CC145

    oklch(70.7% 0.21 146.6)

  6. Step 500

    500

    #00A639

    oklch(63.1% 0.19 146.6)

  7. Step 600

    600

    #008C2E

    oklch(55.7% 0.168 146.5)

  8. Step 700

    700

    #007526

    oklch(49% 0.147 146.7)

  9. Step 800

    800

    #00601D

    oklch(42.6% 0.128 146.5)

  10. Step 900

    900

    #005017

    oklch(37.6% 0.113 146.6)

  11. Step 950

    950

    #00300A

    oklch(26.9% 0.081 146.4)

Export this scale for Tailwind in the Tailwind colors tool

#0CC145 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)#C4AE360.162
Deuteranopia (no green cones)#B2A2500.161
Tritanopia (no blue cones)#00BCA70.127
Achromatopsia (no color)#A7A7A70.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #0CC145

    #0CC145

    oklch(70.7% 0.21 146.6)

  • #E168E4

    #E168E4

    oklch(70.7% 0.21 326.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0CC145

    #0CC145

    oklch(70.7% 0.21 146.6)

  • #9BAC00

    #9BAC00

    oklch(70.7% 0.162 116.6)

  • #00BB9E

    #00BB9E

    oklch(70.8% 0.132 176.2)

Open the analogous palette in the generator

Split complementary

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

  • #0CC145

    #0CC145

    oklch(70.7% 0.21 146.6)

  • #AD85FF

    #AD85FF

    oklch(70.7% 0.175 296.8)

  • #FF5BA3

    #FF5BA3

    oklch(70.7% 0.208 356.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0CC145

    #0CC145

    oklch(70.7% 0.21 146.6)

  • #759BFF

    #759BFF

    oklch(70.6% 0.153 266.8)

  • #FF695F

    #FF695F

    oklch(70.7% 0.185 26.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0CC145

    #0CC145

    oklch(70.7% 0.21 146.6)

  • #00ADF3

    #00ADF3

    oklch(70.8% 0.153 236.5)

  • #E168E4

    #E168E4

    oklch(70.7% 0.21 326.6)

  • #EE7F00

    #EE7F00

    oklch(70.7% 0.172 56.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #0CC145.

Similar named colors

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

Use #0CC145 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.