#407018

Closest named color: Dark Olive Green (#556B2F). oklch(49.3% 0.128 134.3), rgb(64, 112, 24).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.54:1
White text5.91:1

Values

HEX#407018
RGBrgb(64, 112, 24)
HSLhsl(93, 65%, 27%)
OKLCHoklch(49.3% 0.128 134.3)

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 #407018 5.91:1 AA Lc -84.6 Fine for body text
Black text on #407018 3.54:1 AA large text Lc 24.7 Dividers and decoration only
#407018 text on white 5.91:1 AA Lc 79.4 Fine for body text
#407018 text on black 3.54:1 AA large text Lc -22.4 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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E5EDE1

    oklch(93.7% 0.018 134.9)

  3. Step 200

    200

    #D0DFC8

    oklch(88.6% 0.035 134.5)

  4. Step 300

    300

    #B0CAA2

    oklch(80.9% 0.062 134.7)

  5. Step 400

    400

    #87AE6F

    oklch(70.6% 0.098 134.2)

  6. Step 500

    500

    #689A47

    oklch(63.1% 0.126 134.4)

  7. Step 600

    600

    #4F8426

    oklch(55.6% 0.137 134.3)

  8. Step 700

    700 (this color)

    #407018

    oklch(49.3% 0.128 134.3)

  9. Step 800

    800

    #355B17

    oklch(42.7% 0.106 134.2)

  10. Step 900

    900

    #2E4B1A

    oklch(37.7% 0.083 134.4)

  11. Step 950

    950

    #1B2C10

    oklch(27% 0.053 134.5)

Export this scale for Tailwind in the Tailwind colors tool

#407018 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)#7566050.076
Deuteranopia (no green cones)#6E63210.075
Tritanopia (no blue cones)#3F6B5F0.094
Achromatopsia (no color)#6464640.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #407018

    #407018

    oklch(49.3% 0.128 134.3)

  • #7B4893

    #7B4893

    oklch(49.3% 0.127 314)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407018

    #407018

    oklch(49.3% 0.128 134.3)

  • #6B6300

    #6B6300

    oklch(49.2% 0.104 104)

  • #007351

    #007351

    oklch(49.2% 0.104 164.3)

Open the analogous palette in the generator

Split complementary

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

  • #407018

    #407018

    oklch(49.3% 0.128 134.3)

  • #5A54A6

    #5A54A6

    oklch(49.3% 0.128 284)

  • #913F72

    #913F72

    oklch(49.3% 0.127 344.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407018

    #407018

    oklch(49.3% 0.128 134.3)

  • #2562A7

    #2562A7

    oklch(49.3% 0.127 254)

  • #9C3C4A

    #9C3C4A

    oklch(49.2% 0.128 14.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407018

    #407018

    oklch(49.3% 0.128 134.3)

  • #006C88

    #006C88

    oklch(49.4% 0.093 223.8)

  • #7B4893

    #7B4893

    oklch(49.3% 0.127 314)

  • #9A4417

    #9A4417

    oklch(49.3% 0.128 44.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #407018 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.