#0C231B

Closest named color: Jet (#212529). oklch(23.4% 0.033 168.3), rgb(12, 35, 27).

Aa

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

About this color

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

Hue familyGreens
Lightnessvery dark (23%)
Chromamuted (0.033)
Temperaturein between
Nearest nameJet (#212529)
Black text1.27:1
White text16.51:1

Values

HEX#0C231B
RGBrgb(12, 35, 27)
HSLhsl(159, 49%, 9%)
OKLCHoklch(23.4% 0.033 168.3)

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 #0C231B 16.51:1 AAA Lc -105.8 Preferred for body text
Black text on #0C231B 1.27:1 Fails Lc 0.0 Not readable
#0C231B text on white 16.51:1 AAA Lc 103.4 Preferred for body text
#0C231B text on black 1.27: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

    #F2F7F5

    oklch(97.2% 0.006 170.4)

  2. Step 100

    100

    #E3ECE8

    oklch(93.5% 0.011 167.8)

  3. Step 200

    200

    #CCDED6

    oklch(88.5% 0.022 167.4)

  4. Step 300

    300

    #A9C9BC

    oklch(80.9% 0.039 168.8)

  5. Step 400

    400

    #79AE99

    oklch(70.7% 0.064 167.9)

  6. Step 500

    500

    #549980

    oklch(63% 0.081 168.2)

  7. Step 600

    600

    #35846A

    oklch(55.7% 0.088 168.4)

  8. Step 700

    700

    #276F58

    oklch(49% 0.081 168.5)

  9. Step 800

    800

    #225B48

    oklch(42.8% 0.068 168.1)

  10. Step 900

    900

    #224B3C

    oklch(37.8% 0.053 167.3)

  11. Step 950

    950 (this color)

    #0C231B

    oklch(23.4% 0.033 168.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C231B 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)#22201B0.034
Deuteranopia (no green cones)#1E1E1C0.032
Tritanopia (no blue cones)#0523210.012
Achromatopsia (no color)#1F1F1F0.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C231B

    #0C231B

    oklch(23.4% 0.033 168.3)

  • #2A1721

    #2A1721

    oklch(23.4% 0.035 347.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C231B

    #0C231B

    oklch(23.4% 0.033 168.3)

  • #162212

    #162212

    oklch(23.5% 0.034 138.1)

  • #072324

    #072324

    oklch(23.6% 0.033 198.5)

Open the analogous palette in the generator

Split complementary

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

  • #0C231B

    #0C231B

    oklch(23.4% 0.033 168.3)

  • #251928

    #251928

    oklch(23.5% 0.033 319.5)

  • #2C1718

    #2C1718

    oklch(23.4% 0.034 16.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C231B

    #0C231B

    oklch(23.4% 0.033 168.3)

  • #1D1B2D

    #1D1B2D

    oklch(23.3% 0.034 288.5)

  • #2B1910

    #2B1910

    oklch(23.5% 0.033 47.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C231B

    #0C231B

    oklch(23.4% 0.033 168.3)

  • #141E2E

    #141E2E

    oklch(23.4% 0.034 259.5)

  • #2A1721

    #2A1721

    oklch(23.4% 0.035 347.3)

  • #271C0B

    #271C0B

    oklch(23.5% 0.033 76.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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