#0C4818

Closest named color: Pine Green (#0A481E). oklch(35.3% 0.098 146.1), rgb(12, 72, 24).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (35%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest namePine Green (#0A481E)
Black text1.95:1
White text10.73:1

Values

HEX#0C4818
RGBrgb(12, 72, 24)
HSLhsl(132, 71%, 16%)
OKLCHoklch(35.3% 0.098 146.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 #0C4818 10.73:1 AAA Lc -98.5 Preferred for body text
Black text on #0C4818 1.95:1 Fails Lc 9.4 Not readable
#0C4818 text on white 10.73:1 AAA Lc 94.5 Preferred for body text
#0C4818 text on black 1.95:1 Fails Lc -8.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

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E1EEE2

    oklch(93.6% 0.021 147.6)

  3. Step 200

    200

    #C9E1CA

    oklch(88.6% 0.04 146.4)

  4. Step 300

    300

    #A3CEA5

    oklch(81% 0.073 146.1)

  5. Step 400

    400

    #6EB474

    oklch(70.7% 0.116 146.2)

  6. Step 500

    500

    #41A14E

    oklch(63.2% 0.15 146.1)

  7. Step 600

    600

    #128B30

    oklch(55.6% 0.163 146.1)

  8. Step 700

    700

    #007624

    oklch(49.2% 0.15 146.2)

  9. Step 800

    800

    #08601E

    oklch(42.7% 0.126 146.1)

  10. Step 900

    900 (this color)

    #0C4818

    oklch(35.3% 0.098 146.1)

  11. Step 950

    950

    #0F2E13

    oklch(27% 0.061 146.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C4818 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)#4941130.074
Deuteranopia (no green cones)#423C1C0.074
Tritanopia (no blue cones)#00463E0.060
Achromatopsia (no color)#3E3E3E0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4818

    #0C4818

    oklch(35.3% 0.098 146.1)

  • #542656

    #542656

    oklch(35.3% 0.097 325.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4818

    #0C4818

    oklch(35.3% 0.098 146.1)

  • #394000

    #394000

    oklch(35.3% 0.081 116.5)

  • #00463A

    #00463A

    oklch(35.2% 0.066 176.4)

Open the analogous palette in the generator

Split complementary

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

  • #0C4818

    #0C4818

    oklch(35.3% 0.098 146.1)

  • #412E68

    #412E68

    oklch(35.4% 0.098 296.1)

  • #61213D

    #61213D

    oklch(35.4% 0.098 356.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4818

    #0C4818

    oklch(35.3% 0.098 146.1)

  • #23376E

    #23376E

    oklch(35.2% 0.099 266.4)

  • #65221E

    #65221E

    oklch(35.4% 0.098 26.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4818

    #0C4818

    oklch(35.3% 0.098 146.1)

  • #00405D

    #00405D

    oklch(35.2% 0.076 236.3)

  • #542656

    #542656

    oklch(35.3% 0.097 325.8)

  • #5C2D00

    #5C2D00

    oklch(35.3% 0.086 56.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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