#0C4E21

Closest named color: Pine Green (#0A481E). oklch(37.3% 0.098 148.9), rgb(12, 78, 33).

Aa

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

About this color

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

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

Values

HEX#0C4E21
RGBrgb(12, 78, 33)
HSLhsl(139, 73%, 18%)
OKLCHoklch(37.3% 0.098 148.9)

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 #0C4E21 9.87:1 AAA Lc -96.7 Preferred for body text
Black text on #0C4E21 2.12:1 Fails Lc 11.4 Not readable
#0C4E21 text on white 9.87:1 AAA Lc 92.5 Preferred for body text
#0C4E21 text on black 2.12:1 Fails Lc -9.9 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

    #E1EEE2

    oklch(93.6% 0.021 147.6)

  3. Step 200

    200

    #C8E1CB

    oklch(88.5% 0.04 148.7)

  4. Step 300

    300

    #A0CEA7

    oklch(80.8% 0.073 149.1)

  5. Step 400

    400

    #69B577

    oklch(70.7% 0.118 148.7)

  6. Step 500

    500

    #37A154

    oklch(63% 0.149 149.1)

  7. Step 600

    600

    #008B3A

    oklch(55.6% 0.157 148.9)

  8. Step 700

    700

    #007530

    oklch(49.1% 0.138 149)

  9. Step 800

    800

    #006026

    oklch(42.7% 0.12 149)

  10. Step 900

    900 (this color)

    #0C4E21

    oklch(37.3% 0.098 148.9)

  11. Step 950

    950

    #0C2E15

    oklch(26.9% 0.06 149.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C4E21 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)#4F461D0.079
Deuteranopia (no green cones)#4741240.077
Tritanopia (no blue cones)#004C440.056
Achromatopsia (no color)#4343430.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4E21

    #0C4E21

    oklch(37.3% 0.098 148.9)

  • #5C2B5A

    #5C2B5A

    oklch(37.4% 0.098 328.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4E21

    #0C4E21

    oklch(37.3% 0.098 148.9)

  • #3C4600

    #3C4600

    oklch(37.2% 0.087 118.5)

  • #004C41

    #004C41

    oklch(37.3% 0.068 178.8)

Open the analogous palette in the generator

Split complementary

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

  • #0C4E21

    #0C4E21

    oklch(37.3% 0.098 148.9)

  • #48326C

    #48326C

    oklch(37.2% 0.098 299.1)

  • #67263F

    #67263F

    oklch(37.2% 0.097 359)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4E21

    #0C4E21

    oklch(37.3% 0.098 148.9)

  • #2B3C74

    #2B3C74

    oklch(37.3% 0.098 268.6)

  • #6B2820

    #6B2820

    oklch(37.3% 0.098 29.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4E21

    #0C4E21

    oklch(37.3% 0.098 148.9)

  • #004568

    #004568

    oklch(37.2% 0.085 239.7)

  • #5C2B5A

    #5C2B5A

    oklch(37.4% 0.098 328.8)

  • #623300

    #623300

    oklch(37.4% 0.088 59.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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