#0CB22A

Closest named color: Kelly Green (#02AB2E). oklch(66.4% 0.211 144.2), rgb(12, 178, 42).

Aa

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

About this color

#0CB22A is a medium-light, vivid green. In OKLCH its lightness is 66%, its chroma 0.211 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Kelly Green (#02AB2E), ΔE 0.022 away. Black text reads best on it, at 7.41:1.

Hue familyGreens
Lightnessmedium-light (66%)
Chromavivid (0.211)
Temperaturein between
Nearest nameKelly Green (#02AB2E)
Black text7.41:1
White text2.83:1

Values

HEX#0CB22A
RGBrgb(12, 178, 42)
HSLhsl(131, 87%, 37%)
OKLCHoklch(66.4% 0.211 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 #0CB22A 2.83:1 Fails Lc -58.9 Large or bold text, headings
Black text on #0CB22A 7.41:1 AAA Lc 50.4 Large or bold text, headings
#0CB22A text on white 2.83:1 Fails Lc 53.6 Large or bold text, headings
#0CB22A text on black 7.41:1 AAA Lc -48.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 500.

  1. Step 50

    50

    #F0F8F0

    oklch(97.1% 0.014 145.5)

  2. Step 100

    100

    #DEEFDE

    oklch(93.5% 0.029 145.3)

  3. Step 200

    200

    #C3E4C2

    oklch(88.6% 0.058 144.3)

  4. Step 300

    300

    #97D296

    oklch(80.8% 0.103 144.2)

  5. Step 400

    400

    #56BA59

    oklch(70.7% 0.165 144.1)

  6. Step 500

    500 (this color)

    #0CB22A

    oklch(66.4% 0.211 144.2)

  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

    #006111

    oklch(42.8% 0.138 144.2)

  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

#0CB22A 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)#B5A00A0.153
Deuteranopia (no green cones)#A695390.154
Tritanopia (no blue cones)#00AD980.133
Achromatopsia (no color)#9A9A9A0.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #0CB22A

    #0CB22A

    oklch(66.4% 0.211 144.2)

  • #CF5BDA

    #CF5BDA

    oklch(66.3% 0.21 324.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0CB22A

    #0CB22A

    oklch(66.4% 0.211 144.2)

  • #939D00

    #939D00

    oklch(66.5% 0.15 114.2)

  • #00AC8E

    #00AC8E

    oklch(66.4% 0.126 174.3)

Open the analogous palette in the generator

Split complementary

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

  • #0CB22A

    #0CB22A

    oklch(66.4% 0.211 144.2)

  • #9D73FF

    #9D73FF

    oklch(66.3% 0.2 294.1)

  • #EF4B9C

    #EF4B9C

    oklch(66.4% 0.212 354.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0CB22A

    #0CB22A

    oklch(66.4% 0.211 144.2)

  • #5A8DFF

    #5A8DFF

    oklch(66.4% 0.178 264)

  • #FA4B4E

    #FA4B4E

    oklch(66.3% 0.211 24.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0CB22A

    #0CB22A

    oklch(66.4% 0.211 144.2)

  • #00A0DB

    #00A0DB

    oklch(66.5% 0.139 233.8)

  • #CF5BDA

    #CF5BDA

    oklch(66.3% 0.21 324.1)

  • #DE7100

    #DE7100

    oklch(66.3% 0.166 54.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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