#40896D

Closest named color: Viridian (#1E9167). oklch(57.5% 0.086 165.9), rgb(64, 137, 109).

Aa

Black text reads best on this color (5.01:1).

About this color

#40896D is a medium-dark, moderately saturated green. In OKLCH its lightness is 57%, its chroma 0.086 and its hue 166°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Viridian (#1E9167), ΔE 0.034 away. Black text reads best on it, at 5.01:1.

Hue familyGreens
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.086)
Temperaturein between
Nearest nameViridian (#1E9167)
Black text5.01:1
White text4.18:1

Values

HEX#40896D
RGBrgb(64, 137, 109)
HSLhsl(157, 36%, 39%)
OKLCHoklch(57.5% 0.086 165.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 #40896D 4.18:1 AA large text Lc -74.2 Content text, not long reading
Black text on #40896D 5.01:1 AA Lc 35.4 Non-text elements, placeholder text
#40896D text on white 4.18:1 AA large text Lc 68.7 Content text, not long reading
#40896D text on black 5.01:1 AA Lc -33.0 Non-text elements, placeholder text

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

  1. Step 50

    50

    #F2F7F5

    oklch(97.2% 0.006 170.4)

  2. Step 100

    100

    #E3ECE8

    oklch(93.5% 0.011 167.8)

  3. Step 200

    200

    #CDDED6

    oklch(88.6% 0.021 166)

  4. Step 300

    300

    #AAC9BB

    oklch(80.9% 0.039 166.3)

  5. Step 400

    400

    #7CAD98

    oklch(70.7% 0.061 166.3)

  6. Step 500

    500

    #58997E

    oklch(63.1% 0.079 165.4)

  7. Step 600

    600 (this color)

    #40896D

    oklch(57.5% 0.086 165.9)

  8. Step 700

    700

    #2B6F56

    oklch(49.1% 0.08 165.9)

  9. Step 800

    800

    #265A46

    oklch(42.6% 0.066 165.6)

  10. Step 900

    900

    #244A3B

    oklch(37.6% 0.051 166)

  11. Step 950

    950

    #162C23

    oklch(27.1% 0.033 165.9)

Export this scale for Tailwind in the Tailwind colors tool

#40896D 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)#86816C0.085
Deuteranopia (no green cones)#7B796F0.082
Tritanopia (no blue cones)#2489810.033
Achromatopsia (no color)#7C7C7C0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #40896D

    #40896D

    oklch(57.5% 0.086 165.9)

  • #9E6484

    #9E6484

    oklch(57.6% 0.086 345.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40896D

    #40896D

    oklch(57.5% 0.086 165.9)

  • #628551

    #628551

    oklch(57.7% 0.086 135.9)

  • #298889

    #298889

    oklch(57.4% 0.086 196.1)

Open the analogous palette in the generator

Split complementary

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

  • #40896D

    #40896D

    oklch(57.5% 0.086 165.9)

  • #8D699B

    #8D699B

    oklch(57.5% 0.085 316.3)

  • #A56367

    #A56367

    oklch(57.4% 0.086 16.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40896D

    #40896D

    oklch(57.5% 0.086 165.9)

  • #7471AA

    #7471AA

    oklch(57.5% 0.087 285.7)

  • #A3684C

    #A3684C

    oklch(57.5% 0.086 45.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40896D

    #40896D

    oklch(57.5% 0.086 165.9)

  • #567BAB

    #567BAB

    oklch(57.6% 0.086 255.3)

  • #9E6484

    #9E6484

    oklch(57.6% 0.086 345.9)

  • #96723A

    #96723A

    oklch(57.6% 0.086 76.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40896D 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.