#0C4E2F

Closest named color: Evergreen (#05472A). oklch(37.6% 0.083 157.1), rgb(12, 78, 47).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest nameEvergreen (#05472A)
Black text2.14:1
White text9.78:1

Values

HEX#0C4E2F
RGBrgb(12, 78, 47)
HSLhsl(152, 73%, 18%)
OKLCHoklch(37.6% 0.083 157.1)

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 #0C4E2F 9.78:1 AAA Lc -96.5 Preferred for body text
Black text on #0C4E2F 2.14:1 Fails Lc 11.6 Not readable
#0C4E2F text on white 9.78:1 AAA Lc 92.3 Preferred for body text
#0C4E2F text on black 2.14:1 Fails Lc -10.1 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

    #F1F7F3

    oklch(97.1% 0.008 157.1)

  2. Step 100

    100

    #E1EEE5

    oklch(93.7% 0.018 155.8)

  3. Step 200

    200

    #C7E0D0

    oklch(88.4% 0.034 157.6)

  4. Step 300

    300

    #A0CDB1

    oklch(80.8% 0.062 157.4)

  5. Step 400

    400

    #68B388

    oklch(70.6% 0.099 157.5)

  6. Step 500

    500

    #36A06A

    oklch(63.1% 0.127 157.1)

  7. Step 600

    600

    #008953

    oklch(55.5% 0.131 157.3)

  8. Step 700

    700

    #007445

    oklch(49.2% 0.117 157)

  9. Step 800

    800

    #005F38

    oklch(42.7% 0.101 157.3)

  10. Step 900

    900 (this color)

    #0C4E2F

    oklch(37.6% 0.083 157.1)

  11. Step 950

    950

    #0B2E1C

    oklch(27% 0.053 157.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C4E2F 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)#4D472D0.075
Deuteranopia (no green cones)#4641310.075
Tritanopia (no blue cones)#004D460.039
Achromatopsia (no color)#4444440.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4E2F

    #0C4E2F

    oklch(37.6% 0.083 157.1)

  • #5C2E51

    #5C2E51

    oklch(37.5% 0.083 336.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4E2F

    #0C4E2F

    oklch(37.6% 0.083 157.1)

  • #354912

    #354912

    oklch(37.6% 0.083 127.3)

  • #004C47

    #004C47

    oklch(37.5% 0.065 187.3)

Open the analogous palette in the generator

Split complementary

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

  • #0C4E2F

    #0C4E2F

    oklch(37.6% 0.083 157.1)

  • #4D3463

    #4D3463

    oklch(37.6% 0.083 307.4)

  • #652C3A

    #652C3A

    oklch(37.6% 0.083 6.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4E2F

    #0C4E2F

    oklch(37.6% 0.083 157.1)

  • #373C6C

    #373C6C

    oklch(37.6% 0.082 277.2)

  • #662F1F

    #662F1F

    oklch(37.6% 0.084 37)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4E2F

    #0C4E2F

    oklch(37.6% 0.083 157.1)

  • #15446B

    #15446B

    oklch(37.6% 0.084 247.6)

  • #5C2E51

    #5C2E51

    oklch(37.5% 0.083 336.8)

  • #5E3700

    #5E3700

    oklch(37.6% 0.083 67)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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