#40774D

Closest named color: Dark Olive Green (#556B2F). oklch(51.9% 0.089 150), rgb(64, 119, 77).

Aa

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

About this color

#40774D is a medium-dark, moderately saturated green. In OKLCH its lightness is 52%, its chroma 0.089 and its hue 150°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.044 away. White text reads best on it, at 5.29:1.

Hue familyGreens
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.96:1
White text5.29:1

Values

HEX#40774D
RGBrgb(64, 119, 77)
HSLhsl(134, 30%, 36%)
OKLCHoklch(51.9% 0.089 150)

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 #40774D 5.29:1 AA Lc -81.5 Fine for body text
Black text on #40774D 3.96:1 AA large text Lc 27.9 Dividers and decoration only
#40774D text on white 5.29:1 AA Lc 76.2 Fine for body text
#40774D text on black 3.96:1 AA large text Lc -25.5 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

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4ECE6

    oklch(93.5% 0.012 153.7)

  3. Step 200

    200

    #CFDED1

    oklch(88.6% 0.024 149.3)

  4. Step 300

    300

    #AEC9B2

    oklch(80.9% 0.043 149.5)

  5. Step 400

    400

    #82AD8A

    oklch(70.7% 0.069 150)

  6. Step 500

    500

    #61996D

    oklch(63.2% 0.089 150.1)

  7. Step 600

    600

    #478355

    oklch(55.6% 0.095 149.9)

  8. Step 700

    700 (this color)

    #40774D

    oklch(51.9% 0.089 150)

  9. Step 800

    800

    #2F5A39

    oklch(42.7% 0.073 149.9)

  10. Step 900

    900

    #2A4A31

    oklch(37.6% 0.057 149.9)

  11. Step 950

    950

    #192B1D

    oklch(26.9% 0.035 150.5)

Export this scale for Tailwind in the Tailwind colors tool

#40774D 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)#786F4A0.075
Deuteranopia (no green cones)#7069500.074
Tritanopia (no blue cones)#36756C0.049
Achromatopsia (no color)#6B6B6B0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #40774D

    #40774D

    oklch(51.9% 0.089 150)

  • #855581

    #855581

    oklch(51.8% 0.089 329.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40774D

    #40774D

    oklch(51.9% 0.089 150)

  • #627032

    #627032

    oklch(51.9% 0.088 120.1)

  • #16796B

    #16796B

    oklch(51.9% 0.088 180.5)

Open the analogous palette in the generator

Split complementary

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

  • #40774D

    #40774D

    oklch(51.9% 0.089 150)

  • #715C94

    #715C94

    oklch(51.9% 0.089 300.6)

  • #925267

    #925267

    oklch(52% 0.089 359.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40774D

    #40774D

    oklch(51.9% 0.089 150)

  • #55669C

    #55669C

    oklch(52% 0.088 269.9)

  • #95544A

    #95544A

    oklch(51.9% 0.089 29.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40774D

    #40774D

    oklch(51.9% 0.089 150)

  • #326F96

    #326F96

    oklch(51.9% 0.088 239.6)

  • #855581

    #855581

    oklch(51.8% 0.089 329.7)

  • #8E5C30

    #8E5C30

    oklch(52% 0.089 60.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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