#0D5838

Closest named color: Spruce (#0A5F38). oklch(40.8% 0.088 159), rgb(13, 88, 56).

Aa

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

About this color

#0D5838 is a dark, moderately saturated green. In OKLCH its lightness is 41%, its chroma 0.088 and its hue 159°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.023 away. White text reads best on it, at 8.50:1.

Hue familyGreens
Lightnessdark (41%)
Chromamoderately saturated (0.088)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.47:1
White text8.50:1

Values

HEX#0D5838
RGBrgb(13, 88, 56)
HSLhsl(154, 74%, 20%)
OKLCHoklch(40.8% 0.088 159)

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 #0D5838 8.50:1 AAA Lc -93.4 Preferred for body text
Black text on #0D5838 2.47:1 Fails Lc 15.1 Dividers and decoration only
#0D5838 text on white 8.50:1 AAA Lc 88.9 Fine for body text
#0D5838 text on black 2.47:1 Fails Lc -13.3 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 800.

  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

    #CADFD2

    oklch(88.4% 0.029 158.6)

  4. Step 300

    300

    #A5CBB5

    oklch(80.8% 0.051 159.6)

  5. Step 400

    400

    #72B18E

    oklch(70.8% 0.083 159)

  6. Step 500

    500

    #499D72

    oklch(63.2% 0.105 158.9)

  7. Step 600

    600

    #24875A

    oklch(55.6% 0.114 158.9)

  8. Step 700

    700

    #13724A

    oklch(49% 0.106 159.2)

  9. Step 800

    800 (this color)

    #0D5838

    oklch(40.8% 0.088 159)

  10. Step 900

    900

    #1B4D34

    oklch(37.9% 0.069 158.6)

  11. Step 950

    950

    #112D1F

    oklch(27% 0.043 159.7)

Export this scale for Tailwind in the Tailwind colors tool

#0D5838 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)#5750360.082
Deuteranopia (no green cones)#4E4A3A0.080
Tritanopia (no blue cones)#0057500.040
Achromatopsia (no color)#4D4D4D0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D5838

    #0D5838

    oklch(40.8% 0.088 159)

  • #68355A

    #68355A

    oklch(40.8% 0.089 338.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D5838

    #0D5838

    oklch(40.8% 0.088 159)

  • #3B5319

    #3B5319

    oklch(40.9% 0.089 128.9)

  • #005652

    #005652

    oklch(40.9% 0.071 189.3)

Open the analogous palette in the generator

Split complementary

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

  • #0D5838

    #0D5838

    oklch(40.8% 0.088 159)

  • #583B6E

    #583B6E

    oklch(40.8% 0.089 309.2)

  • #713340

    #713340

    oklch(40.8% 0.088 8.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D5838

    #0D5838

    oklch(40.8% 0.088 159)

  • #404479

    #404479

    oklch(40.9% 0.088 278.5)

  • #713723

    #713723

    oklch(40.8% 0.088 39.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D5838

    #0D5838

    oklch(40.8% 0.088 159)

  • #1E4D77

    #1E4D77

    oklch(41% 0.087 248.6)

  • #68355A

    #68355A

    oklch(40.8% 0.089 338.4)

  • #684002

    #684002

    oklch(40.9% 0.088 69.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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