#0C2018

Closest named color: Rich Black (#0D1B2A). oklch(22.4% 0.031 165.7), rgb(12, 32, 24).

Aa

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

About this color

#0C2018 is a very dark, muted green. In OKLCH its lightness is 22%, its chroma 0.031 and its hue 166°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.046 away. White text reads best on it, at 16.99:1.

Hue familyGreens
Lightnessvery dark (22%)
Chromamuted (0.031)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.23:1
White text16.99:1

Values

HEX#0C2018
RGBrgb(12, 32, 24)
HSLhsl(156, 45%, 9%)
OKLCHoklch(22.4% 0.031 165.7)

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 #0C2018 16.99:1 AAA Lc -106.2 Preferred for body text
Black text on #0C2018 1.23:1 Fails Lc 0.0 Not readable
#0C2018 text on white 16.99:1 AAA Lc 103.8 Preferred for body text
#0C2018 text on black 1.23: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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E4ECE8

    oklch(93.6% 0.01 164.9)

  3. Step 200

    200

    #CDDED6

    oklch(88.6% 0.021 166)

  4. Step 300

    300

    #ACC8BB

    oklch(80.8% 0.035 165.8)

  5. Step 400

    400

    #7EAD98

    oklch(70.8% 0.059 165.4)

  6. Step 500

    500

    #5B987F

    oklch(63.1% 0.075 166)

  7. Step 600

    600

    #3F8268

    oklch(55.5% 0.08 165.9)

  8. Step 700

    700

    #306E57

    oklch(49% 0.075 166.4)

  9. Step 800

    800

    #295A47

    oklch(42.7% 0.063 165.9)

  10. Step 900

    900

    #264A3B

    oklch(37.7% 0.05 165.1)

  11. Step 950

    950 (this color)

    #0C2018

    oklch(22.4% 0.031 165.7)

Export this scale for Tailwind in the Tailwind colors tool

#0C2018 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)#1F1E180.030
Deuteranopia (no green cones)#1C1B190.030
Tritanopia (no blue cones)#06201E0.012
Achromatopsia (no color)#1C1C1C0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C2018

    #0C2018

    oklch(22.4% 0.031 165.7)

  • #26161F

    #26161F

    oklch(22.5% 0.03 345)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C2018

    #0C2018

    oklch(22.4% 0.031 165.7)

  • #151F10

    #151F10

    oklch(22.5% 0.031 135.6)

  • #072020

    #072020

    oklch(22.4% 0.031 195.2)

Open the analogous palette in the generator

Split complementary

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

  • #0C2018

    #0C2018

    oklch(22.4% 0.031 165.7)

  • #211725

    #211725

    oklch(22.4% 0.03 316.1)

  • #281517

    #281517

    oklch(22.3% 0.031 13.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C2018

    #0C2018

    oklch(22.4% 0.031 165.7)

  • #1A1929

    #1A1929

    oklch(22.3% 0.031 286.5)

  • #27170F

    #27170F

    oklch(22.4% 0.03 47.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C2018

    #0C2018

    oklch(22.4% 0.031 165.7)

  • #121C2A

    #121C2A

    oklch(22.4% 0.031 256.9)

  • #26161F

    #26161F

    oklch(22.5% 0.03 345)

  • #24190A

    #24190A

    oklch(22.3% 0.031 73.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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