#0C421A

Closest named color: Hunter Green (#0B4008). oklch(33.4% 0.087 147.8), rgb(12, 66, 26).

Aa

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

About this color

#0C421A is a dark, moderately saturated green. In OKLCH its lightness is 33%, its chroma 0.087 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Hunter Green (#0B4008), ΔE 0.018 away. White text reads best on it, at 11.60:1.

Hue familyGreens
Lightnessdark (33%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest nameHunter Green (#0B4008)
Black text1.80:1
White text11.60:1

Values

HEX#0C421A
RGBrgb(12, 66, 26)
HSLhsl(136, 69%, 15%)
OKLCHoklch(33.4% 0.087 147.8)

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 #0C421A 11.60:1 AAA Lc -100.1 Preferred for body text
Black text on #0C421A 1.80:1 Fails Lc 7.5 Not readable
#0C421A text on white 11.60:1 AAA Lc 96.3 Preferred for body text
#0C421A text on black 1.80: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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EEE3

    oklch(93.7% 0.019 147.8)

  3. Step 200

    200

    #CAE0CC

    oklch(88.5% 0.036 147.9)

  4. Step 300

    300

    #A5CDA9

    oklch(81% 0.066 147.6)

  5. Step 400

    400

    #72B37B

    oklch(70.8% 0.105 147.8)

  6. Step 500

    500

    #489F59

    oklch(63.1% 0.133 148)

  7. Step 600

    600

    #23893D

    oklch(55.5% 0.145 147.7)

  8. Step 700

    700

    #12742F

    oklch(49% 0.135 147.8)

  9. Step 800

    800

    #155F28

    oklch(42.8% 0.112 147.7)

  10. Step 900

    900 (this color)

    #0C421A

    oklch(33.4% 0.087 147.8)

  11. Step 950

    950

    #112E16

    oklch(27.1% 0.056 147.5)

Export this scale for Tailwind in the Tailwind colors tool

#0C421A 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)#433B160.070
Deuteranopia (no green cones)#3C371D0.068
Tritanopia (no blue cones)#0040390.051
Achromatopsia (no color)#3939390.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C421A

    #0C421A

    oklch(33.4% 0.087 147.8)

  • #4D244D

    #4D244D

    oklch(33.4% 0.086 327.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C421A

    #0C421A

    oklch(33.4% 0.087 147.8)

  • #333B00

    #333B00

    oklch(33.3% 0.077 117.9)

  • #004136

    #004136

    oklch(33.5% 0.062 176.8)

Open the analogous palette in the generator

Split complementary

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

  • #0C421A

    #0C421A

    oklch(33.4% 0.087 147.8)

  • #3C2B5D

    #3C2B5D

    oklch(33.5% 0.086 297.2)

  • #582036

    #582036

    oklch(33.4% 0.086 358.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C421A

    #0C421A

    oklch(33.4% 0.087 147.8)

  • #233363

    #233363

    oklch(33.5% 0.087 267.7)

  • #5B211C

    #5B211C

    oklch(33.4% 0.087 27.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C421A

    #0C421A

    oklch(33.4% 0.087 147.8)

  • #003B58

    #003B58

    oklch(33.5% 0.074 238.1)

  • #4D244D

    #4D244D

    oklch(33.4% 0.086 327.3)

  • #542A00

    #542A00

    oklch(33.4% 0.08 58.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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