#0C421F

Closest named color: Evergreen (#05472A). oklch(33.5% 0.082 150.6), rgb(12, 66, 31).

Aa

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

About this color

#0C421F is a dark, moderately saturated green. In OKLCH its lightness is 34%, its chroma 0.082 and its hue 151°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Evergreen (#05472A), ΔE 0.019 away. White text reads best on it, at 11.57:1.

Hue familyGreens
Lightnessdark (34%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest nameEvergreen (#05472A)
Black text1.81:1
White text11.57:1

Values

HEX#0C421F
RGBrgb(12, 66, 31)
HSLhsl(141, 69%, 15%)
OKLCHoklch(33.5% 0.082 150.6)

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 #0C421F 11.57:1 AAA Lc -100.0 Preferred for body text
Black text on #0C421F 1.81:1 Fails Lc 7.6 Not readable
#0C421F text on white 11.57:1 AAA Lc 96.3 Preferred for body text
#0C421F text on black 1.81:1 Fails Lc 0.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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E2EDE4

    oklch(93.5% 0.017 151.1)

  3. Step 200

    200

    #CAE0CE

    oklch(88.5% 0.034 150.8)

  4. Step 300

    300

    #A5CCAC

    oklch(80.8% 0.061 150.1)

  5. Step 400

    400

    #72B281

    oklch(70.7% 0.097 150.7)

  6. Step 500

    500

    #489E60

    oklch(63% 0.125 150.5)

  7. Step 600

    600

    #228946

    oklch(55.7% 0.137 150.4)

  8. Step 700

    700

    #117438

    oklch(49.1% 0.127 150.6)

  9. Step 800

    800

    #145E2F

    oklch(42.6% 0.104 150.8)

  10. Step 900

    900 (this color)

    #0C421F

    oklch(33.5% 0.082 150.6)

  11. Step 950

    950

    #112D19

    oklch(26.9% 0.051 151)

Export this scale for Tailwind in the Tailwind colors tool

#0C421F 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)#423C1C0.067
Deuteranopia (no green cones)#3C37210.067
Tritanopia (no blue cones)#00413A0.045
Achromatopsia (no color)#3939390.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C421F

    #0C421F

    oklch(33.5% 0.082 150.6)

  • #4E254A

    #4E254A

    oklch(33.5% 0.082 330.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C421F

    #0C421F

    oklch(33.5% 0.082 150.6)

  • #313C00

    #313C00

    oklch(33.4% 0.08 120.5)

  • #004138

    #004138

    oklch(33.6% 0.061 179.8)

Open the analogous palette in the generator

Split complementary

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

  • #0C421F

    #0C421F

    oklch(33.5% 0.082 150.6)

  • #3E2B5A

    #3E2B5A

    oklch(33.5% 0.082 300.7)

  • #572234

    #572234

    oklch(33.5% 0.081 1.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C421F

    #0C421F

    oklch(33.5% 0.082 150.6)

  • #273360

    #273360

    oklch(33.5% 0.081 270.3)

  • #59241B

    #59241B

    oklch(33.5% 0.081 31.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C421F

    #0C421F

    oklch(33.5% 0.082 150.6)

  • #003B5A

    #003B5A

    oklch(33.6% 0.077 239.8)

  • #4E254A

    #4E254A

    oklch(33.5% 0.082 330.9)

  • #532B00

    #532B00

    oklch(33.5% 0.078 60.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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