#0CB540

Closest named color: Shamrock (#01B44C). oklch(67.4% 0.2 146.5), rgb(12, 181, 64).

Aa

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

About this color

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

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

Values

HEX#0CB540
RGBrgb(12, 181, 64)
HSLhsl(138, 88%, 38%)
OKLCHoklch(67.4% 0.2 146.5)

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 #0CB540 2.72:1 Fails Lc -57.3 Large or bold text, headings
Black text on #0CB540 7.69:1 AAA Lc 51.9 Large or bold text, headings
#0CB540 text on white 2.72:1 Fails Lc 52.1 Large or bold text, headings
#0CB540 text on black 7.69:1 AAA Lc -49.8 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

    #EFF9EF

    oklch(97.2% 0.017 145.4)

  2. Step 100

    100

    #DBF1DC

    oklch(93.6% 0.036 146.5)

  3. Step 200

    200

    #BCE6BE

    oklch(88.4% 0.07 146.2)

  4. Step 300

    300

    #89D690

    oklch(80.8% 0.124 146.5)

  5. Step 400

    400 (this color)

    #0CB540

    oklch(67.4% 0.2 146.5)

  6. Step 500

    500

    #00A638

    oklch(63.1% 0.19 146.5)

  7. Step 600

    600

    #008C2E

    oklch(55.7% 0.168 146.5)

  8. Step 700

    700

    #007525

    oklch(49% 0.148 146.5)

  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

#0CB540 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)#B8A4320.154
Deuteranopia (no green cones)#A7984B0.153
Tritanopia (no blue cones)#00B19D0.121
Achromatopsia (no color)#9D9D9D0.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #0CB540

    #0CB540

    oklch(67.4% 0.2 146.5)

  • #D361D6

    #D361D6

    oklch(67.4% 0.2 326.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0CB540

    #0CB540

    oklch(67.4% 0.2 146.5)

  • #92A100

    #92A100

    oklch(67.4% 0.154 116.2)

  • #00AF94

    #00AF94

    oklch(67.4% 0.126 176.4)

Open the analogous palette in the generator

Split complementary

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

  • #0CB540

    #0CB540

    oklch(67.4% 0.2 146.5)

  • #A476FF

    #A476FF

    oklch(67.4% 0.196 296.2)

  • #F05499

    #F05499

    oklch(67.4% 0.201 356.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0CB540

    #0CB540

    oklch(67.4% 0.2 146.5)

  • #668FFF

    #668FFF

    oklch(67.4% 0.172 266.7)

  • #FA564F

    #FA564F

    oklch(67.4% 0.201 26.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0CB540

    #0CB540

    oklch(67.4% 0.2 146.5)

  • #00A2E4

    #00A2E4

    oklch(67.4% 0.146 236.5)

  • #D361D6

    #D361D6

    oklch(67.4% 0.2 326.5)

  • #E07700

    #E07700

    oklch(67.5% 0.164 56.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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