#21795F

Closest named color: Bluegreen (#017A79). oklch(51.8% 0.092 168.9), rgb(33, 121, 95).

Aa

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

About this color

#21795F is a medium-dark, moderately saturated green. In OKLCH its lightness is 52%, its chroma 0.092 and its hue 169°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluegreen (#017A79), ΔE 0.040 away. White text reads best on it, at 5.29:1.

Hue familyGreens
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest nameBluegreen (#017A79)
Black text3.96:1
White text5.29:1

Values

HEX#21795F
RGBrgb(33, 121, 95)
HSLhsl(162, 57%, 30%)
OKLCHoklch(51.8% 0.092 168.9)

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 #21795F 5.29:1 AA Lc -81.4 Fine for body text
Black text on #21795F 3.96:1 AA large text Lc 28.1 Dividers and decoration only
#21795F text on white 5.29:1 AA Lc 76.0 Fine for body text
#21795F text on black 3.96:1 AA large text Lc -25.7 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F2F7F5

    oklch(97.2% 0.006 170.4)

  2. Step 100

    100

    #E2EDE8

    oklch(93.6% 0.013 167.2)

  3. Step 200

    200

    #CADFD6

    oklch(88.5% 0.026 168.2)

  4. Step 300

    300

    #A5CABC

    oklch(80.8% 0.044 170.2)

  5. Step 400

    400

    #73AF99

    oklch(70.6% 0.071 169.2)

  6. Step 500

    500

    #4A9B80

    oklch(63.1% 0.09 169.1)

  7. Step 600

    600

    #258669

    oklch(55.7% 0.099 168.6)

  8. Step 700

    700 (this color)

    #21795F

    oklch(51.8% 0.092 168.9)

  9. Step 800

    800

    #165C48

    oklch(42.7% 0.076 169.5)

  10. Step 900

    900

    #1B4C3C

    oklch(37.8% 0.06 168.6)

  11. Step 950

    950

    #112C23

    oklch(26.9% 0.037 169.3)

Export this scale for Tailwind in the Tailwind colors tool

#21795F 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)#76705E0.094
Deuteranopia (no green cones)#6A68610.090
Tritanopia (no blue cones)#007A720.029
Achromatopsia (no color)#6B6B6B0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #21795F

    #21795F

    oklch(51.8% 0.092 168.9)

  • #8F5171

    #8F5171

    oklch(51.7% 0.092 348.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21795F

    #21795F

    oklch(51.8% 0.092 168.9)

  • #4C7540

    #4C7540

    oklch(51.8% 0.092 138.8)

  • #00777B

    #00777B

    oklch(51.7% 0.088 198.9)

Open the analogous palette in the generator

Split complementary

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

  • #21795F

    #21795F

    oklch(51.8% 0.092 168.9)

  • #7F568A

    #7F568A

    oklch(51.7% 0.093 319)

  • #965153

    #965153

    oklch(51.8% 0.092 18.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21795F

    #21795F

    oklch(51.8% 0.092 168.9)

  • #675F9A

    #675F9A

    oklch(51.9% 0.092 289)

  • #925736

    #925736

    oklch(51.7% 0.091 49)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21795F

    #21795F

    oklch(51.8% 0.092 168.9)

  • #47699D

    #47699D

    oklch(51.9% 0.092 258.6)

  • #8F5171

    #8F5171

    oklch(51.7% 0.092 348.6)

  • #856121

    #856121

    oklch(51.8% 0.092 78.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21795F 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.