#0C271A

Closest named color: Jet (#212529). oklch(24.7% 0.042 160.1), rgb(12, 39, 26).

Aa

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

About this color

#0C271A is a very dark, muted green. In OKLCH its lightness is 25%, its chroma 0.042 and its hue 160°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jet (#212529), ΔE 0.045 away. White text reads best on it, at 15.89:1.

Hue familyGreens
Lightnessvery dark (25%)
Chromamuted (0.042)
Temperaturein between
Nearest nameJet (#212529)
Black text1.32:1
White text15.89:1

Values

HEX#0C271A
RGBrgb(12, 39, 26)
HSLhsl(151, 53%, 10%)
OKLCHoklch(24.7% 0.042 160.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 #0C271A 15.89:1 AAA Lc -105.3 Preferred for body text
Black text on #0C271A 1.32:1 Fails Lc 0.0 Not readable
#0C271A text on white 15.89:1 AAA Lc 102.7 Preferred for body text
#0C271A text on black 1.32: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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E2EDE7

    oklch(93.6% 0.014 162.5)

  3. Step 200

    200

    #CADFD3

    oklch(88.5% 0.028 160.8)

  4. Step 300

    300

    #A6CBB6

    oklch(80.9% 0.049 160.2)

  5. Step 400

    400

    #74B090

    oklch(70.7% 0.078 160.2)

  6. Step 500

    500

    #4B9C74

    oklch(63% 0.101 160)

  7. Step 600

    600

    #28875D

    oklch(55.7% 0.11 160)

  8. Step 700

    700

    #18724C

    oklch(49.1% 0.102 159.9)

  9. Step 800

    800

    #185D3F

    oklch(42.7% 0.084 160.3)

  10. Step 900

    900

    #1C4C35

    oklch(37.6% 0.066 159.9)

  11. Step 950

    950 (this color)

    #0C271A

    oklch(24.7% 0.042 160.1)

Export this scale for Tailwind in the Tailwind colors tool

#0C271A 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)#2624190.038
Deuteranopia (no green cones)#23211B0.039
Tritanopia (no blue cones)#0427230.017
Achromatopsia (no color)#2222220.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C271A

    #0C271A

    oklch(24.7% 0.042 160.1)

  • #2E1927

    #2E1927

    oklch(24.7% 0.041 340.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C271A

    #0C271A

    oklch(24.7% 0.042 160.1)

  • #1A250F

    #1A250F

    oklch(24.7% 0.042 130.7)

  • #012725

    #012725

    oklch(24.6% 0.042 189.6)

Open the analogous palette in the generator

Split complementary

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

  • #0C271A

    #0C271A

    oklch(24.7% 0.042 160.1)

  • #271B30

    #271B30

    oklch(24.7% 0.042 309.8)

  • #32181C

    #32181C

    oklch(24.7% 0.042 10.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C271A

    #0C271A

    oklch(24.7% 0.042 160.1)

  • #1D1E34

    #1D1E34

    oklch(24.6% 0.042 280.9)

  • #321A11

    #321A11

    oklch(24.8% 0.042 41.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C271A

    #0C271A

    oklch(24.7% 0.042 160.1)

  • #112234

    #112234

    oklch(24.7% 0.041 251.1)

  • #2E1927

    #2E1927

    oklch(24.7% 0.041 340.3)

  • #2E1D08

    #2E1D08

    oklch(24.7% 0.042 69.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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