#40704C

Closest named color: Dark Olive Green (#556B2F). oklch(50% 0.078 150.8), rgb(64, 112, 76).

Aa

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

About this color

#40704C is a medium-dark, moderately saturated green. In OKLCH its lightness is 50%, its chroma 0.078 and its hue 151°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.038 away. White text reads best on it, at 5.76:1.

Hue familyGreens
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.64:1
White text5.76:1

Values

HEX#40704C
RGBrgb(64, 112, 76)
HSLhsl(135, 27%, 35%)
OKLCHoklch(50% 0.078 150.8)

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 #40704C 5.76:1 AA Lc -84.0 Fine for body text
Black text on #40704C 3.64:1 AA large text Lc 25.3 Dividers and decoration only
#40704C text on white 5.76:1 AA Lc 78.7 Fine for body text
#40704C text on black 3.64:1 AA large text Lc -23.0 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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E5ECE6

    oklch(93.6% 0.011 149.9)

  3. Step 200

    200

    #D0DDD2

    oklch(88.5% 0.02 150.1)

  4. Step 300

    300

    #B0C8B4

    oklch(80.9% 0.038 150.2)

  5. Step 400

    400

    #86AC8D

    oklch(70.8% 0.061 150.1)

  6. Step 500

    500

    #669771

    oklch(63.1% 0.078 150.7)

  7. Step 600

    600

    #4D815A

    oklch(55.5% 0.083 151)

  8. Step 700

    700 (this color)

    #40704C

    oklch(50% 0.078 150.8)

  9. Step 800

    800

    #33593C

    oklch(42.7% 0.065 150.5)

  10. Step 900

    900

    #2D4934

    oklch(37.6% 0.049 151.4)

  11. Step 950

    950

    #1B2B1E

    oklch(27% 0.032 149.7)

Export this scale for Tailwind in the Tailwind colors tool

#40704C 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)#70694A0.066
Deuteranopia (no green cones)#69644E0.064
Tritanopia (no blue cones)#386F660.041
Achromatopsia (no color)#6666660.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #40704C

    #40704C

    oklch(50% 0.078 150.8)

  • #7D5378

    #7D5378

    oklch(50.1% 0.077 330.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40704C

    #40704C

    oklch(50% 0.078 150.8)

  • #5D6A35

    #5D6A35

    oklch(50% 0.078 120.6)

  • #227266

    #227266

    oklch(50.1% 0.078 181)

Open the analogous palette in the generator

Split complementary

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

  • #40704C

    #40704C

    oklch(50% 0.078 150.8)

  • #6B5989

    #6B5989

    oklch(50.1% 0.077 300.9)

  • #885061

    #885061

    oklch(50.1% 0.078 0.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40704C

    #40704C

    oklch(50% 0.078 150.8)

  • #536190

    #536190

    oklch(50.1% 0.077 270.8)

  • #8A5248

    #8A5248

    oklch(50% 0.077 30.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40704C

    #40704C

    oklch(50% 0.078 150.8)

  • #36698C

    #36698C

    oklch(50.1% 0.078 240.7)

  • #7D5378

    #7D5378

    oklch(50.1% 0.077 330.9)

  • #845833

    #845833

    oklch(50% 0.078 59.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40704C 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.