#0C281E

Closest named color: Jet (#212529). oklch(25.2% 0.039 167), rgb(12, 40, 30).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (25%)
Chromamuted (0.039)
Temperaturein between
Nearest nameJet (#212529)
Black text1.33:1
White text15.69:1

Values

HEX#0C281E
RGBrgb(12, 40, 30)
HSLhsl(159, 54%, 10%)
OKLCHoklch(25.2% 0.039 167)

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 #0C281E 15.69:1 AAA Lc -105.2 Preferred for body text
Black text on #0C281E 1.33:1 Fails Lc 0.0 Not readable
#0C281E text on white 15.69:1 AAA Lc 102.5 Preferred for body text
#0C281E text on black 1.33: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

    #E2EDE8

    oklch(93.6% 0.013 167.2)

  3. Step 200

    200

    #CADFD5

    oklch(88.5% 0.026 165.6)

  4. Step 300

    300

    #A5CBBA

    oklch(81% 0.047 166.2)

  5. Step 400

    400

    #72B097

    oklch(70.8% 0.074 166.9)

  6. Step 500

    500

    #489C7D

    oklch(63.2% 0.095 166.6)

  7. Step 600

    600

    #218666

    oklch(55.5% 0.103 166.9)

  8. Step 700

    700

    #107255

    oklch(49.2% 0.096 166.8)

  9. Step 800

    800

    #145D46

    oklch(42.8% 0.08 167)

  10. Step 900

    900

    #1A4C3B

    oklch(37.7% 0.061 167.5)

  11. Step 950

    950 (this color)

    #0C281E

    oklch(25.2% 0.039 167)

Export this scale for Tailwind in the Tailwind colors tool

#0C281E 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)#27251D0.039
Deuteranopia (no green cones)#23221F0.038
Tritanopia (no blue cones)#0228250.014
Achromatopsia (no color)#2323230.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C281E

    #0C281E

    oklch(25.2% 0.039 167)

  • #301A26

    #301A26

    oklch(25.2% 0.04 346.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C281E

    #0C281E

    oklch(25.2% 0.039 167)

  • #192613

    #192613

    oklch(25% 0.039 136.3)

  • #042828

    #042828

    oklch(25.2% 0.04 194.9)

Open the analogous palette in the generator

Split complementary

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

  • #0C281E

    #0C281E

    oklch(25.2% 0.039 167)

  • #2A1C2E

    #2A1C2E

    oklch(25.2% 0.039 318.6)

  • #321A1B

    #321A1B

    oklch(25.1% 0.038 17.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C281E

    #0C281E

    oklch(25.2% 0.039 167)

  • #211F34

    #211F34

    oklch(25.2% 0.039 287.6)

  • #311C11

    #311C11

    oklch(25.1% 0.039 48)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C281E

    #0C281E

    oklch(25.2% 0.039 167)

  • #162335

    #162335

    oklch(25.4% 0.039 256.7)

  • #301A26

    #301A26

    oklch(25.2% 0.04 346.5)

  • #2D1F0A

    #2D1F0A

    oklch(25.1% 0.04 75.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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