#005B21

Closest named color: Deep Green (#02590F). oklch(41.1% 0.118 148.2), rgb(0, 91, 33).

Aa

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

About this color

#005B21 is a dark, moderately saturated green. In OKLCH its lightness is 41%, its chroma 0.118 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Green (#02590F), ΔE 0.016 away. White text reads best on it, at 8.33:1.

Hue familyGreens
Lightnessdark (41%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest nameDeep Green (#02590F)
Black text2.51:1
White text8.33:1

Values

HEX#005B21
RGBrgb(0, 91, 33)
HSLhsl(142, 100%, 18%)
OKLCHoklch(41.1% 0.118 148.2)

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 #005B21 8.33:1 AAA Lc -92.8 Preferred for body text
Black text on #005B21 2.51:1 Fails Lc 15.8 Dividers and decoration only
#005B21 text on white 8.33:1 AAA Lc 88.2 Fine for body text
#005B21 text on black 2.51:1 Fails Lc -14.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 800.

  1. Step 50

    50

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E1EEE3

    oklch(93.6% 0.02 150.1)

  3. Step 200

    200

    #C9E1CB

    oklch(88.6% 0.039 147.6)

  4. Step 300

    300

    #A3CDA8

    oklch(80.8% 0.068 148.2)

  5. Step 400

    400

    #6EB479

    oklch(70.8% 0.111 148.1)

  6. Step 500

    500

    #41A056

    oklch(63.1% 0.141 148.2)

  7. Step 600

    600

    #138A3A

    oklch(55.5% 0.153 148.2)

  8. Step 700

    700

    #00752D

    oklch(49.1% 0.141 148.2)

  9. Step 800

    800 (this color)

    #005B21

    oklch(41.1% 0.118 148.2)

  10. Step 900

    900

    #154E23

    oklch(37.6% 0.092 148.1)

  11. Step 950

    950

    #0F2E15

    oklch(27% 0.059 147.8)

Export this scale for Tailwind in the Tailwind colors tool

#005B21 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)#5C521B0.093
Deuteranopia (no green cones)#534B260.094
Tritanopia (no blue cones)#00594E0.069
Achromatopsia (no color)#4E4E4E0.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #005B21

    #005B21

    oklch(41.1% 0.118 148.2)

  • #6B2F6A

    #6B2F6A

    oklch(41.1% 0.117 328.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #005B21

    #005B21

    oklch(41.1% 0.118 148.2)

  • #465100

    #465100

    oklch(41.1% 0.096 118.3)

  • #00584B

    #00584B

    oklch(41.2% 0.076 178.2)

Open the analogous palette in the generator

Split complementary

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

  • #005B21

    #005B21

    oklch(41.1% 0.118 148.2)

  • #543981

    #543981

    oklch(41.2% 0.117 298.4)

  • #7A284A

    #7A284A

    oklch(41% 0.119 358.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #005B21

    #005B21

    oklch(41.1% 0.118 148.2)

  • #2F458A

    #2F458A

    oklch(41.1% 0.118 267.7)

  • #7F2A23

    #7F2A23

    oklch(41.2% 0.119 28.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #005B21

    #005B21

    oklch(41.1% 0.118 148.2)

  • #005076

    #005076

    oklch(41% 0.092 238.5)

  • #6B2F6A

    #6B2F6A

    oklch(41.1% 0.117 328.1)

  • #713A00

    #713A00

    oklch(41% 0.099 57.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #005B21 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.