#0CA229

Closest named color: Grassy Green (#419C03). oklch(62% 0.195 144.5), rgb(12, 162, 41).

Aa

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

About this color

#0CA229 is a medium-dark, vivid green. In OKLCH its lightness is 62%, its chroma 0.195 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grassy Green (#419C03), ΔE 0.025 away. Black text reads best on it, at 6.21:1.

Hue familyGreens
Lightnessmedium-dark (62%)
Chromavivid (0.195)
Temperaturein between
Nearest nameGrassy Green (#419C03)
Black text6.21:1
White text3.37:1

Values

HEX#0CA229
RGBrgb(12, 162, 41)
HSLhsl(132, 86%, 34%)
OKLCHoklch(62% 0.195 144.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 #0CA229 3.37:1 AA large text Lc -66.0 Content text, not long reading
Black text on #0CA229 6.21:1 AA Lc 43.5 Non-text elements, placeholder text
#0CA229 text on white 3.37:1 AA large text Lc 60.5 Content text, not long reading
#0CA229 text on black 6.21:1 AA Lc -41.2 Non-text elements, placeholder text

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

    #DFEFDF

    oklch(93.6% 0.027 145.4)

  3. Step 200

    200

    #C5E3C4

    oklch(88.6% 0.053 144.3)

  4. Step 300

    300

    #9AD19A

    oklch(80.8% 0.095 144.6)

  5. Step 400

    400

    #5DB960

    oklch(70.8% 0.153 144.4)

  6. Step 500

    500 (this color)

    #0CA229

    oklch(62% 0.195 144.5)

  7. Step 600

    600

    #008C1F

    oklch(55.6% 0.178 144.4)

  8. Step 700

    700

    #007619

    oklch(49.1% 0.157 144.5)

  9. Step 800

    800

    #006113

    oklch(42.8% 0.136 144.5)

  10. Step 900

    900

    #00510E

    oklch(37.8% 0.121 144.5)

  11. Step 950

    950

    #043008

    oklch(27% 0.081 144.3)

Export this scale for Tailwind in the Tailwind colors tool

#0CA229 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)#A592120.142
Deuteranopia (no green cones)#9788360.143
Tritanopia (no blue cones)#009D8B0.124
Achromatopsia (no color)#8C8C8C0.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #0CA229

    #0CA229

    oklch(62% 0.195 144.5)

  • #BD53C6

    #BD53C6

    oklch(62% 0.195 324.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0CA229

    #0CA229

    oklch(62% 0.195 144.5)

  • #858F00

    #858F00

    oklch(62.1% 0.14 114.6)

  • #009D81

    #009D81

    oklch(62.1% 0.118 174)

Open the analogous palette in the generator

Split complementary

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

  • #0CA229

    #0CA229

    oklch(62% 0.195 144.5)

  • #9066ED

    #9066ED

    oklch(61.9% 0.195 294.3)

  • #D9458D

    #D9458D

    oklch(61.9% 0.195 354.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0CA229

    #0CA229

    oklch(62% 0.195 144.5)

  • #497DF9

    #497DF9

    oklch(62% 0.194 264.3)

  • #E34647

    #E34647

    oklch(61.9% 0.194 24.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0CA229

    #0CA229

    oklch(62% 0.195 144.5)

  • #0091C8

    #0091C8

    oklch(61.9% 0.13 234.4)

  • #BD53C6

    #BD53C6

    oklch(62% 0.195 324.5)

  • #CB6700

    #CB6700

    oklch(62% 0.155 54.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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