#0C4E28

Closest named color: Pine Green (#0A481E). oklch(37.4% 0.09 152.5), rgb(12, 78, 40).

Aa

White text reads best on this color (9.83:1).

About this color

#0C4E28 is a dark, moderately saturated green. In OKLCH its lightness is 37%, its chroma 0.090 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine Green (#0A481E), ΔE 0.022 away. White text reads best on it, at 9.83:1.

Hue familyGreens
Lightnessdark (37%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest namePine Green (#0A481E)
Black text2.13:1
White text9.83:1

Values

HEX#0C4E28
RGBrgb(12, 78, 40)
HSLhsl(145, 73%, 18%)
OKLCHoklch(37.4% 0.09 152.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 #0C4E28 9.83:1 AAA Lc -96.6 Preferred for body text
Black text on #0C4E28 2.13:1 Fails Lc 11.5 Not readable
#0C4E28 text on white 9.83:1 AAA Lc 92.4 Preferred for body text
#0C4E28 text on black 2.13:1 Fails Lc -10.0 Not readable

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 900.

  1. Step 50

    50

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E1EEE4

    oklch(93.7% 0.019 152.8)

  3. Step 200

    200

    #C7E1CD

    oklch(88.5% 0.039 152.4)

  4. Step 300

    300

    #A0CEAC

    oklch(80.9% 0.068 152.7)

  5. Step 400

    400

    #69B47F

    oklch(70.7% 0.108 152.2)

  6. Step 500

    500

    #37A15F

    oklch(63.2% 0.138 152.5)

  7. Step 600

    600

    #008A47

    oklch(55.5% 0.144 152.6)

  8. Step 700

    700

    #00743A

    oklch(49% 0.128 152.4)

  9. Step 800

    800

    #00602F

    oklch(42.8% 0.112 152.4)

  10. Step 900

    900 (this color)

    #0C4E28

    oklch(37.4% 0.09 152.5)

  11. Step 950

    950

    #0B2E18

    oklch(26.9% 0.057 152.6)

Export this scale for Tailwind in the Tailwind colors tool

#0C4E28 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)#4E47250.077
Deuteranopia (no green cones)#46412B0.076
Tritanopia (no blue cones)#004D450.047
Achromatopsia (no color)#4343430.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4E28

    #0C4E28

    oklch(37.4% 0.09 152.5)

  • #5C2D56

    #5C2D56

    oklch(37.5% 0.09 332.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4E28

    #0C4E28

    oklch(37.4% 0.09 152.5)

  • #394801

    #394801

    oklch(37.5% 0.09 122.2)

  • #004C44

    #004C44

    oklch(37.4% 0.067 182.9)

Open the analogous palette in the generator

Split complementary

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

  • #0C4E28

    #0C4E28

    oklch(37.4% 0.09 152.5)

  • #4A3368

    #4A3368

    oklch(37.3% 0.091 302.2)

  • #66293D

    #66293D

    oklch(37.4% 0.09 1.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4E28

    #0C4E28

    oklch(37.4% 0.09 152.5)

  • #313C70

    #313C70

    oklch(37.4% 0.09 272.4)

  • #682C20

    #682C20

    oklch(37.5% 0.089 32.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4E28

    #0C4E28

    oklch(37.4% 0.09 152.5)

  • #00456C

    #00456C

    oklch(37.5% 0.09 242.5)

  • #5C2D56

    #5C2D56

    oklch(37.5% 0.09 332.1)

  • #603500

    #603500

    oklch(37.5% 0.086 63)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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