#0CB82C

Closest named color: Shamrock (#01B44C). oklch(68% 0.216 144.2), rgb(12, 184, 44).

Aa

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

About this color

#0CB82C is a medium-light, vivid green. In OKLCH its lightness is 68%, its chroma 0.216 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.031 away. Black text reads best on it, at 7.90:1.

Hue familyGreens
Lightnessmedium-light (68%)
Chromavivid (0.216)
Temperaturein between
Nearest nameShamrock (#01B44C)
Black text7.90:1
White text2.65:1

Values

HEX#0CB82C
RGBrgb(12, 184, 44)
HSLhsl(131, 88%, 38%)
OKLCHoklch(68% 0.216 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 #0CB82C 2.65:1 Fails Lc -56.1 Large or bold text, headings
Black text on #0CB82C 7.90:1 AAA Lc 53.1 Large or bold text, headings
#0CB82C text on white 2.65:1 Fails Lc 50.9 Large or bold text, headings
#0CB82C text on black 7.90:1 AAA Lc -51.0 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

    #EEF9EE

    oklch(97.1% 0.019 145.4)

  2. Step 100

    100

    #DBF1DA

    oklch(93.6% 0.038 144.1)

  3. Step 200

    200

    #BCE7BA

    oklch(88.6% 0.076 143.8)

  4. Step 300

    300

    #88D788

    oklch(80.8% 0.134 144.2)

  5. Step 400

    400 (this color)

    #0CB82C

    oklch(68% 0.216 144.2)

  6. Step 500

    500

    #00A624

    oklch(63% 0.203 144.2)

  7. Step 600

    600

    #008C1D

    oklch(55.6% 0.179 144.2)

  8. Step 700

    700

    #007617

    oklch(49.1% 0.158 144.3)

  9. Step 800

    800

    #006111

    oklch(42.8% 0.138 144.2)

  10. Step 900

    900

    #00510C

    oklch(37.8% 0.122 144.2)

  11. Step 950

    950

    #003005

    oklch(26.9% 0.086 144.4)

Export this scale for Tailwind in the Tailwind colors tool

#0CB82C 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)#BCA60B0.158
Deuteranopia (no green cones)#AB9A3C0.158
Tritanopia (no blue cones)#00B39D0.136
Achromatopsia (no color)#9F9F9F0.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #0CB82C

    #0CB82C

    oklch(68% 0.216 144.2)

  • #D65EE1

    #D65EE1

    oklch(68% 0.216 324.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0CB82C

    #0CB82C

    oklch(68% 0.216 144.2)

  • #98A200

    #98A200

    oklch(68.1% 0.153 114.1)

  • #00B293

    #00B293

    oklch(68.1% 0.129 174.3)

Open the analogous palette in the generator

Split complementary

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

  • #0CB82C

    #0CB82C

    oklch(68% 0.216 144.2)

  • #A27BFF

    #A27BFF

    oklch(68% 0.189 294.5)

  • #F64EA1

    #F64EA1

    oklch(68% 0.216 354.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0CB82C

    #0CB82C

    oklch(68% 0.216 144.2)

  • #6393FF

    #6393FF

    oklch(68% 0.168 264.4)

  • #FF5354

    #FF5354

    oklch(68% 0.208 24.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0CB82C

    #0CB82C

    oklch(68% 0.216 144.2)

  • #00A5E3

    #00A5E3

    oklch(68.1% 0.143 234.4)

  • #D65EE1

    #D65EE1

    oklch(68% 0.216 324.2)

  • #E67500

    #E67500

    oklch(68% 0.17 54)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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