#40774F

Closest named color: Dark Olive Green (#556B2F). oklch(52% 0.086 151.2), rgb(64, 119, 79).

Aa

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

About this color

#40774F is a medium-dark, moderately saturated green. In OKLCH its lightness is 52%, its chroma 0.086 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.045 away. White text reads best on it, at 5.29:1.

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

Values

HEX#40774F
RGBrgb(64, 119, 79)
HSLhsl(136, 30%, 36%)
OKLCHoklch(52% 0.086 151.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 #40774F 5.29:1 AA Lc -81.5 Fine for body text
Black text on #40774F 3.96:1 AA large text Lc 27.9 Dividers and decoration only
#40774F text on white 5.29:1 AA Lc 76.2 Fine for body text
#40774F text on black 3.96:1 AA large text Lc -25.6 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

    #F3F6F3

    oklch(97% 0.005 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

    #AEC9B3

    oklch(81% 0.042 150.7)

  5. Step 400

    400

    #82AD8C

    oklch(70.7% 0.067 151.6)

  6. Step 500

    500

    #61986F

    oklch(63% 0.085 151.4)

  7. Step 600

    600

    #478357

    oklch(55.7% 0.093 151)

  8. Step 700

    700 (this color)

    #40774F

    oklch(52% 0.086 151.2)

  9. Step 800

    800

    #2F5A3B

    oklch(42.7% 0.071 151.4)

  10. Step 900

    900

    #2A4A32

    oklch(37.7% 0.056 151)

  11. Step 950

    950

    #192B1E

    oklch(26.9% 0.034 152.4)

Export this scale for Tailwind in the Tailwind colors tool

#40774F 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)#776F4C0.073
Deuteranopia (no green cones)#6F69510.072
Tritanopia (no blue cones)#35756D0.048
Achromatopsia (no color)#6B6B6B0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #40774F

    #40774F

    oklch(52% 0.086 151.2)

  • #865680

    #865680

    oklch(52.1% 0.087 331.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40774F

    #40774F

    oklch(52% 0.086 151.2)

  • #617034

    #617034

    oklch(51.8% 0.086 121.1)

  • #1A796C

    #1A796C

    oklch(52% 0.086 181.3)

Open the analogous palette in the generator

Split complementary

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

  • #40774F

    #40774F

    oklch(52% 0.086 151.2)

  • #725D93

    #725D93

    oklch(52.1% 0.086 301.4)

  • #915366

    #915366

    oklch(52% 0.086 0.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40774F

    #40774F

    oklch(52% 0.086 151.2)

  • #57669B

    #57669B

    oklch(52.1% 0.086 271.1)

  • #94554A

    #94554A

    oklch(52% 0.086 30.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40774F

    #40774F

    oklch(52% 0.086 151.2)

  • #366F96

    #366F96

    oklch(52.1% 0.086 241)

  • #865680

    #865680

    oklch(52.1% 0.087 331.3)

  • #8D5D31

    #8D5D31

    oklch(52.1% 0.087 61.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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