#0C5421

Closest named color: Forest (#0B5509). oklch(39.2% 0.106 147.9), rgb(12, 84, 33).

Aa

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

About this color

#0C5421 is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.106 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest (#0B5509), ΔE 0.022 away. White text reads best on it, at 9.10:1.

Hue familyGreens
Lightnessdark (39%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameForest (#0B5509)
Black text2.30:1
White text9.10:1

Values

HEX#0C5421
RGBrgb(12, 84, 33)
HSLhsl(138, 75%, 19%)
OKLCHoklch(39.2% 0.106 147.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 #0C5421 9.10:1 AAA Lc -94.9 Preferred for body text
Black text on #0C5421 2.30:1 Fails Lc 13.4 Not readable
#0C5421 text on white 9.10:1 AAA Lc 90.5 Preferred for body text
#0C5421 text on black 2.30:1 Fails Lc -11.8 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

    #F1F8F1

    oklch(97.2% 0.012 145.5)

  2. Step 100

    100

    #E0EEE1

    oklch(93.5% 0.023 147.4)

  3. Step 200

    200

    #C6E2C9

    oklch(88.5% 0.045 148.2)

  4. Step 300

    300

    #9ECFA4

    oklch(80.8% 0.079 148.1)

  5. Step 400

    400

    #64B672

    oklch(70.7% 0.127 148)

  6. Step 500

    500

    #2DA34C

    oklch(63.1% 0.162 148)

  7. Step 600

    600

    #008B35

    oklch(55.5% 0.161 147.8)

  8. Step 700

    700

    #00752C

    oklch(49% 0.142 148)

  9. Step 800

    800

    #006022

    oklch(42.6% 0.124 147.8)

  10. Step 900

    900 (this color)

    #0C5421

    oklch(39.2% 0.106 147.9)

  11. Step 950

    950

    #092F12

    oklch(27% 0.067 147.9)

Export this scale for Tailwind in the Tailwind colors tool

#0C5421 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)#554C1C0.084
Deuteranopia (no green cones)#4D46250.083
Tritanopia (no blue cones)#0052490.062
Achromatopsia (no color)#4848480.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C5421

    #0C5421

    oklch(39.2% 0.106 147.9)

  • #632D62

    #632D62

    oklch(39.2% 0.107 328.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C5421

    #0C5421

    oklch(39.2% 0.106 147.9)

  • #424B00

    #424B00

    oklch(39.1% 0.09 117.3)

  • #005245

    #005245

    oklch(39.2% 0.073 177.3)

Open the analogous palette in the generator

Split complementary

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

  • #0C5421

    #0C5421

    oklch(39.2% 0.106 147.9)

  • #4D3676

    #4D3676

    oklch(39.1% 0.106 297.9)

  • #702845

    #702845

    oklch(39.2% 0.106 358.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C5421

    #0C5421

    oklch(39.2% 0.106 147.9)

  • #2D417E

    #2D417E

    oklch(39.3% 0.106 267.7)

  • #742A23

    #742A23

    oklch(39.2% 0.106 28.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C5421

    #0C5421

    oklch(39.2% 0.106 147.9)

  • #004B6E

    #004B6E

    oklch(39.2% 0.087 237.8)

  • #632D62

    #632D62

    oklch(39.2% 0.107 328.1)

  • #693600

    #693600

    oklch(39.1% 0.093 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 #0C5421, closest first.

Similar named colors

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

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