#407E23

Closest named color: Dark Grass Green (#388004). oklch(53.2% 0.139 137.5), rgb(64, 126, 35).

Aa

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

About this color

#407E23 is a medium-dark, moderately saturated green. In OKLCH its lightness is 53%, its chroma 0.139 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Grass Green (#388004), ΔE 0.021 away. White text reads best on it, at 4.96:1.

Hue familyGreens
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameDark Grass Green (#388004)
Black text4.22:1
White text4.96:1

Values

HEX#407E23
RGBrgb(64, 126, 35)
HSLhsl(101, 57%, 32%)
OKLCHoklch(53.2% 0.139 137.5)

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 #407E23 4.96:1 AA Lc -79.5 Fine for body text
Black text on #407E23 4.22:1 AA large text Lc 30.0 Dividers and decoration only
#407E23 text on white 4.96:1 AA Lc 74.1 Content text, not long reading
#407E23 text on black 4.22:1 AA large text Lc -27.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 600.

  1. Step 50

    50

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDE1

    oklch(93.6% 0.019 137.8)

  3. Step 200

    200

    #CEDFC9

    oklch(88.5% 0.035 138.6)

  4. Step 300

    300

    #AECBA3

    oklch(81% 0.063 137.1)

  5. Step 400

    400

    #82AF71

    oklch(70.6% 0.1 137.4)

  6. Step 500

    500

    #619B4A

    oklch(63% 0.129 137.5)

  7. Step 600

    600 (this color)

    #407E23

    oklch(53.2% 0.139 137.5)

  8. Step 700

    700

    #38711D

    oklch(49.2% 0.13 137.5)

  9. Step 800

    800

    #2F5C1B

    oklch(42.7% 0.107 137.5)

  10. Step 900

    900

    #2A4C1C

    oklch(37.8% 0.085 137.5)

  11. Step 950

    950

    #192C12

    oklch(26.9% 0.052 137.8)

Export this scale for Tailwind in the Tailwind colors tool

#407E23 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)#8273150.088
Deuteranopia (no green cones)#7A6E2B0.089
Tritanopia (no blue cones)#3C796C0.098
Achromatopsia (no color)#7070700.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #407E23

    #407E23

    oklch(53.2% 0.139 137.5)

  • #8D4FA0

    #8D4FA0

    oklch(53.3% 0.138 317.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407E23

    #407E23

    oklch(53.2% 0.139 137.5)

  • #747000

    #747000

    oklch(53.2% 0.114 107.2)

  • #008060

    #008060

    oklch(53.3% 0.108 167.7)

Open the analogous palette in the generator

Split complementary

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

  • #407E23

    #407E23

    oklch(53.2% 0.139 137.5)

  • #695CB7

    #695CB7

    oklch(53.1% 0.138 287.3)

  • #A4457B

    #A4457B

    oklch(53.2% 0.14 347.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407E23

    #407E23

    oklch(53.2% 0.139 137.5)

  • #326BBB

    #326BBB

    oklch(53.1% 0.139 257.4)

  • #AE444E

    #AE444E

    oklch(53.2% 0.139 17.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407E23

    #407E23

    oklch(53.2% 0.139 137.5)

  • #00779B

    #00779B

    oklch(53.2% 0.104 227.9)

  • #8D4FA0

    #8D4FA0

    oklch(53.3% 0.138 317.8)

  • #AA4D0F

    #AA4D0F

    oklch(53.1% 0.139 47.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #407E23 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.