#0C331F

Closest named color: Pakistan Green (#283618). oklch(28.7% 0.057 157.1), rgb(12, 51, 31).

Aa

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

About this color

#0C331F is a dark, muted green. In OKLCH its lightness is 29%, its chroma 0.057 and its hue 157°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.036 away. White text reads best on it, at 13.91:1.

Hue familyGreens
Lightnessdark (29%)
Chromamuted (0.057)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.50:1
White text13.91:1

Values

HEX#0C331F
RGBrgb(12, 51, 31)
HSLhsl(149, 62%, 12%)
OKLCHoklch(28.7% 0.057 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 #0C331F 13.91:1 AAA Lc -103.4 Preferred for body text
Black text on #0C331F 1.50:1 Fails Lc 0.0 Not readable
#0C331F text on white 13.91:1 AAA Lc 100.3 Preferred for body text
#0C331F text on black 1.50: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 950.

  1. Step 50

    50

    #F1F7F3

    oklch(97.1% 0.008 157.1)

  2. Step 100

    100

    #E0EEE5

    oklch(93.6% 0.019 157.9)

  3. Step 200

    200

    #C6E1CF

    oklch(88.5% 0.038 156.4)

  4. Step 300

    300

    #9DCEAF

    oklch(80.8% 0.067 156.8)

  5. Step 400

    400

    #62B585

    oklch(70.7% 0.109 156.8)

  6. Step 500

    500

    #25A267

    oklch(63.2% 0.138 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

    #004F2E

    oklch(37.6% 0.089 157.5)

  11. Step 950

    950 (this color)

    #0C331F

    oklch(28.7% 0.057 157.1)

Export this scale for Tailwind in the Tailwind colors tool

#0C331F 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)#332E1E0.054
Deuteranopia (no green cones)#2D2B200.050
Tritanopia (no blue cones)#00332E0.026
Achromatopsia (no color)#2C2C2C0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C331F

    #0C331F

    oklch(28.7% 0.057 157.1)

  • #3C1F35

    #3C1F35

    oklch(28.7% 0.056 336.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C331F

    #0C331F

    oklch(28.7% 0.057 157.1)

  • #23300E

    #23300E

    oklch(28.8% 0.057 127.2)

  • #00332F

    #00332F

    oklch(28.9% 0.051 186.5)

Open the analogous palette in the generator

Split complementary

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

  • #0C331F

    #0C331F

    oklch(28.7% 0.057 157.1)

  • #322241

    #322241

    oklch(28.6% 0.059 306.8)

  • #421D26

    #421D26

    oklch(28.7% 0.058 6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C331F

    #0C331F

    oklch(28.7% 0.057 157.1)

  • #242747

    #242747

    oklch(28.7% 0.058 278)

  • #421F15

    #421F15

    oklch(28.6% 0.057 36.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C331F

    #0C331F

    oklch(28.7% 0.057 157.1)

  • #102D45

    #102D45

    oklch(28.8% 0.056 246.4)

  • #3C1F35

    #3C1F35

    oklch(28.7% 0.056 336.5)

  • #3D2406

    #3D2406

    oklch(28.6% 0.057 66.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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