#0CB51B

Closest named color: Kelly Green (#02AB2E). oklch(67.1% 0.221 143.1), rgb(12, 181, 27).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-light (67%)
Chromavivid (0.221)
Temperaturein between
Nearest nameKelly Green (#02AB2E)
Black text7.64:1
White text2.74:1

Values

HEX#0CB51B
RGBrgb(12, 181, 27)
HSLhsl(125, 88%, 38%)
OKLCHoklch(67.1% 0.221 143.1)

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 #0CB51B 2.74:1 Fails Lc -57.5 Large or bold text, headings
Black text on #0CB51B 7.64:1 AAA Lc 51.7 Large or bold text, headings
#0CB51B text on white 2.74:1 Fails Lc 52.3 Large or bold text, headings
#0CB51B text on black 7.64:1 AAA Lc -49.5 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

    #EFF9EE

    oklch(97.2% 0.018 142.8)

  2. Step 100

    100

    #DBF1D9

    oklch(93.5% 0.04 142.9)

  3. Step 200

    200

    #BCE7B9

    oklch(88.5% 0.077 143.2)

  4. Step 300

    300

    #89D785

    oklch(80.8% 0.137 143.1)

  5. Step 400

    400 (this color)

    #0CB51B

    oklch(67.1% 0.221 143.1)

  6. Step 500

    500

    #00A713

    oklch(63.2% 0.211 143.1)

  7. Step 600

    600

    #008C0E

    oklch(55.5% 0.185 143.1)

  8. Step 700

    700

    #00760A

    oklch(49.1% 0.164 143.1)

  9. Step 800

    800

    #006107

    oklch(42.7% 0.142 143.1)

  10. Step 900

    900

    #005105

    oklch(37.7% 0.126 143.2)

  11. Step 950

    950

    #003102

    oklch(27.2% 0.09 143.2)

Export this scale for Tailwind in the Tailwind colors tool

#0CB51B 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)#B9A3000.158
Deuteranopia (no green cones)#A998310.157
Tritanopia (no blue cones)#00B09A0.142
Achromatopsia (no color)#9C9C9C0.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #0CB51B

    #0CB51B

    oklch(67.1% 0.221 143.1)

  • #D35AE2

    #D35AE2

    oklch(67.2% 0.221 323.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0CB51B

    #0CB51B

    oklch(67.1% 0.221 143.1)

  • #979E00

    #979E00

    oklch(67.1% 0.149 112.9)

  • #00AF8E

    #00AF8E

    oklch(67.2% 0.129 172.9)

Open the analogous palette in the generator

Split complementary

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

  • #0CB51B

    #0CB51B

    oklch(67.1% 0.221 143.1)

  • #9D78FF

    #9D78FF

    oklch(67.1% 0.193 293.1)

  • #F448A1

    #F448A1

    oklch(67.1% 0.221 353.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0CB51B

    #0CB51B

    oklch(67.1% 0.221 143.1)

  • #5B90FF

    #5B90FF

    oklch(67% 0.174 263.3)

  • #FF4B52

    #FF4B52

    oklch(67.2% 0.216 23.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0CB51B

    #0CB51B

    oklch(67.1% 0.221 143.1)

  • #00A2DD

    #00A2DD

    oklch(67.1% 0.139 233.5)

  • #D35AE2

    #D35AE2

    oklch(67.2% 0.221 323.1)

  • #E37200

    #E37200

    oklch(67.1% 0.17 53.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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