#0C8C2A

Closest named color: Forest Green (#228B22). oklch(55.8% 0.169 145.4), rgb(12, 140, 42).

Aa

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

About this color

#0C8C2A is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.169 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest Green (#228B22), ΔE 0.007 away. Black text reads best on it, at 4.80:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromavivid (0.169)
Temperaturein between
Nearest nameForest Green (#228B22)
Black text4.80:1
White text4.37:1

Values

HEX#0C8C2A
RGBrgb(12, 140, 42)
HSLhsl(134, 84%, 30%)
OKLCHoklch(55.8% 0.169 145.4)

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 #0C8C2A 4.37:1 AA large text Lc -75.2 Fine for body text
Black text on #0C8C2A 4.80:1 AA Lc 34.4 Non-text elements, placeholder text
#0C8C2A text on white 4.37:1 AA large text Lc 69.7 Content text, not long reading
#0C8C2A text on black 4.80:1 AA Lc -32.0 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 600.

  1. Step 50

    50

    #F1F7F1

    oklch(97% 0.01 145.5)

  2. Step 100

    100

    #E1EEE1

    oklch(93.6% 0.022 145.4)

  3. Step 200

    200

    #C8E1C9

    oklch(88.5% 0.042 146.3)

  4. Step 300

    300

    #A2CEA3

    oklch(80.8% 0.076 145.4)

  5. Step 400

    400

    #6CB570

    oklch(70.8% 0.123 145.3)

  6. Step 500

    500

    #3EA149

    oklch(63% 0.156 145.4)

  7. Step 600

    600 (this color)

    #0C8C2A

    oklch(55.8% 0.169 145.4)

  8. Step 700

    700

    #00761F

    oklch(49.2% 0.153 145.3)

  9. Step 800

    800

    #04601A

    oklch(42.6% 0.13 145.5)

  10. Step 900

    900

    #134F1C

    oklch(37.7% 0.102 145.6)

  11. Step 950

    950

    #0E2E11

    oklch(26.9% 0.064 145.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C8C2A 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)#8E7E1C0.126
Deuteranopia (no green cones)#8275330.127
Tritanopia (no blue cones)#0088780.105
Achromatopsia (no color)#7979790.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C8C2A

    #0C8C2A

    oklch(55.8% 0.169 145.4)

  • #A349A9

    #A349A9

    oklch(55.8% 0.169 325.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C8C2A

    #0C8C2A

    oklch(55.8% 0.169 145.4)

  • #727C00

    #727C00

    oklch(55.9% 0.127 115.3)

  • #008771

    #008771

    oklch(55.7% 0.104 175.8)

Open the analogous palette in the generator

Split complementary

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

  • #0C8C2A

    #0C8C2A

    oklch(55.8% 0.169 145.4)

  • #7E59CA

    #7E59CA

    oklch(55.8% 0.169 295.5)

  • #BB3E78

    #BB3E78

    oklch(55.8% 0.169 355.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C8C2A

    #0C8C2A

    oklch(55.8% 0.169 145.4)

  • #436CD6

    #436CD6

    oklch(55.9% 0.169 265.4)

  • #C33F3C

    #C33F3C

    oklch(55.7% 0.169 25.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C8C2A

    #0C8C2A

    oklch(55.8% 0.169 145.4)

  • #007DAF

    #007DAF

    oklch(55.7% 0.119 235.4)

  • #A349A9

    #A349A9

    oklch(55.8% 0.169 325.1)

  • #AF5A00

    #AF5A00

    oklch(55.9% 0.137 55.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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