#0C631C

Closest named color: Dark Green (#006400). oklch(43.7% 0.13 145.1), rgb(12, 99, 28).

Aa

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

About this color

#0C631C is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.130 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Green (#006400), ΔE 0.019 away. White text reads best on it, at 7.45:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameDark Green (#006400)
Black text2.81:1
White text7.45:1

Values

HEX#0C631C
RGBrgb(12, 99, 28)
HSLhsl(131, 78%, 22%)
OKLCHoklch(43.7% 0.13 145.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 #0C631C 7.45:1 AAA Lc -90.3 Preferred for body text
Black text on #0C631C 2.81:1 Fails Lc 18.6 Dividers and decoration only
#0C631C text on white 7.45:1 AAA Lc 85.4 Fine for body text
#0C631C text on black 2.81:1 Fails Lc -16.6 Dividers and decoration only

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 800.

  1. Step 50

    50

    #F1F7F1

    oklch(97% 0.01 145.5)

  2. Step 100

    100

    #E1EEE1

    oklch(93.6% 0.022 145.4)

  3. Step 200

    200

    #C9E1C8

    oklch(88.5% 0.042 144.1)

  4. Step 300

    300

    #A2CEA3

    oklch(80.8% 0.076 145.4)

  5. Step 400

    400

    #6DB570

    oklch(70.8% 0.123 145.1)

  6. Step 500

    500

    #3FA149

    oklch(63.1% 0.156 145.2)

  7. Step 600

    600

    #0F8B29

    oklch(55.5% 0.169 145.2)

  8. Step 700

    700

    #00761D

    oklch(49.2% 0.154 145)

  9. Step 800

    800 (this color)

    #0C631C

    oklch(43.7% 0.13 145.1)

  10. Step 900

    900

    #144F1B

    oklch(37.7% 0.102 145)

  11. Step 950

    950

    #0E2E11

    oklch(26.9% 0.064 145.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C631C 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)#6559120.097
Deuteranopia (no green cones)#5C53230.097
Tritanopia (no blue cones)#0060550.082
Achromatopsia (no color)#5555550.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C631C

    #0C631C

    oklch(43.7% 0.13 145.1)

  • #743378

    #743378

    oklch(43.7% 0.13 325.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C631C

    #0C631C

    oklch(43.7% 0.13 145.1)

  • #505700

    #505700

    oklch(43.6% 0.099 115)

  • #00604F

    #00604F

    oklch(43.7% 0.082 175.1)

Open the analogous palette in the generator

Split complementary

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

  • #0C631C

    #0C631C

    oklch(43.7% 0.13 145.1)

  • #583E90

    #583E90

    oklch(43.5% 0.13 295.1)

  • #852B55

    #852B55

    oklch(43.6% 0.13 355.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C631C

    #0C631C

    oklch(43.7% 0.13 145.1)

  • #2D4C98

    #2D4C98

    oklch(43.6% 0.13 264.8)

  • #8B2C2A

    #8B2C2A

    oklch(43.6% 0.13 25.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C631C

    #0C631C

    oklch(43.7% 0.13 145.1)

  • #00597D

    #00597D

    oklch(43.8% 0.092 234.7)

  • #743378

    #743378

    oklch(43.7% 0.13 325.2)

  • #7D3E00

    #7D3E00

    oklch(43.6% 0.108 55.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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