#0D271A

Closest named color: Jet (#212529). oklch(24.8% 0.041 159.5), rgb(13, 39, 26).

Aa

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

About this color

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

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

Values

HEX#0D271A
RGBrgb(13, 39, 26)
HSLhsl(150, 50%, 10%)
OKLCHoklch(24.8% 0.041 159.5)

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 #0D271A 15.88:1 AAA Lc -105.3 Preferred for body text
Black text on #0D271A 1.32:1 Fails Lc 0.0 Not readable
#0D271A text on white 15.88:1 AAA Lc 102.7 Preferred for body text
#0D271A 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

    #E2EDE6

    oklch(93.6% 0.015 158.2)

  3. Step 200

    200

    #CBDFD3

    oklch(88.5% 0.027 159.5)

  4. Step 300

    300

    #A7CBB6

    oklch(81% 0.048 159.5)

  5. Step 400

    400

    #75B090

    oklch(70.7% 0.078 159.9)

  6. Step 500

    500

    #4E9C74

    oklch(63.2% 0.099 159.3)

  7. Step 600

    600

    #2C865C

    oklch(55.5% 0.108 159.3)

  8. Step 700

    700

    #1D724C

    oklch(49.2% 0.1 159.3)

  9. Step 800

    800

    #1B5D3E

    oklch(42.8% 0.084 158.9)

  10. Step 900

    900

    #1E4C35

    oklch(37.7% 0.065 159.2)

  11. Step 950

    950 (this color)

    #0D271A

    oklch(24.8% 0.041 159.5)

Export this scale for Tailwind in the Tailwind colors tool

#0D271A 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)#2724190.039
Deuteranopia (no green cones)#23211B0.038
Tritanopia (no blue cones)#0527230.017
Achromatopsia (no color)#2222220.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D271A

    #0D271A

    oklch(24.8% 0.041 159.5)

  • #2E1927

    #2E1927

    oklch(24.7% 0.041 340.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D271A

    #0D271A

    oklch(24.8% 0.041 159.5)

  • #1B250F

    #1B250F

    oklch(24.8% 0.041 129.1)

  • #022725

    #022725

    oklch(24.7% 0.041 189.5)

Open the analogous palette in the generator

Split complementary

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

  • #0D271A

    #0D271A

    oklch(24.8% 0.041 159.5)

  • #271B30

    #271B30

    oklch(24.7% 0.042 309.8)

  • #32181D

    #32181D

    oklch(24.7% 0.042 8.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D271A

    #0D271A

    oklch(24.8% 0.041 159.5)

  • #1D1F34

    #1D1F34

    oklch(24.8% 0.04 278.9)

  • #321A12

    #321A12

    oklch(24.9% 0.041 39.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D271A

    #0D271A

    oklch(24.8% 0.041 159.5)

  • #112234

    #112234

    oklch(24.7% 0.041 251.1)

  • #2E1927

    #2E1927

    oklch(24.7% 0.041 340.3)

  • #2E1D09

    #2E1D09

    oklch(24.8% 0.041 68.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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