#407C0D

Closest named color: Dark Grass Green (#388004). oklch(52.5% 0.148 135.3), rgb(64, 124, 13).

Aa

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

About this color

#407C0D is a medium-dark, vivid green. In OKLCH its lightness is 53%, its chroma 0.148 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Grass Green (#388004), ΔE 0.014 away. White text reads best on it, at 5.11:1.

Hue familyGreens
Lightnessmedium-dark (53%)
Chromavivid (0.148)
Temperaturein between
Nearest nameDark Grass Green (#388004)
Black text4.10:1
White text5.11:1

Values

HEX#407C0D
RGBrgb(64, 124, 13)
HSLhsl(92, 81%, 27%)
OKLCHoklch(52.5% 0.148 135.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 #407C0D 5.11:1 AA Lc -80.4 Fine for body text
Black text on #407C0D 4.10:1 AA large text Lc 29.1 Dividers and decoration only
#407C0D text on white 5.11:1 AA Lc 75.0 Content text, not long reading
#407C0D text on black 4.10:1 AA large text Lc -26.7 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

    #E4EDE0

    oklch(93.6% 0.02 135.8)

  3. Step 200

    200

    #CFDFC7

    oklch(88.5% 0.037 135)

  4. Step 300

    300

    #AECBA0

    oklch(80.9% 0.067 135.5)

  5. Step 400

    400

    #83B06B

    oklch(70.8% 0.107 135.3)

  6. Step 500

    500

    #639B41

    oklch(63% 0.136 135.2)

  7. Step 600

    600 (this color)

    #407C0D

    oklch(52.5% 0.148 135.3)

  8. Step 700

    700

    #3A710C

    oklch(49.1% 0.138 135.3)

  9. Step 800

    800

    #305C10

    oklch(42.7% 0.115 135.4)

  10. Step 900

    900

    #2B4C16

    oklch(37.8% 0.09 135.3)

  11. Step 950

    950

    #1A2C0F

    oklch(26.9% 0.055 135)

Export this scale for Tailwind in the Tailwind colors tool

#407C0D 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)#8171000.090
Deuteranopia (no green cones)#796C1D0.090
Tritanopia (no blue cones)#3E77690.108
Achromatopsia (no color)#6E6E6E0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #407C0D

    #407C0D

    oklch(52.5% 0.148 135.3)

  • #8A4BA4

    #8A4BA4

    oklch(52.6% 0.148 315.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407C0D

    #407C0D

    oklch(52.5% 0.148 135.3)

  • #746D00

    #746D00

    oklch(52.4% 0.111 105.2)

  • #007E5B

    #007E5B

    oklch(52.6% 0.11 165.5)

Open the analogous palette in the generator

Split complementary

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

  • #407C0D

    #407C0D

    oklch(52.5% 0.148 135.3)

  • #6459BB

    #6459BB

    oklch(52.4% 0.149 285.1)

  • #A3407D

    #A3407D

    oklch(52.5% 0.148 345.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407C0D

    #407C0D

    oklch(52.5% 0.148 135.3)

  • #236ABD

    #236ABD

    oklch(52.6% 0.148 255.1)

  • #AF3D4E

    #AF3D4E

    oklch(52.5% 0.148 15.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407C0D

    #407C0D

    oklch(52.5% 0.148 135.3)

  • #007696

    #007696

    oklch(52.6% 0.1 225.1)

  • #8A4BA4

    #8A4BA4

    oklch(52.6% 0.148 315.1)

  • #AC4702

    #AC4702

    oklch(52.5% 0.148 45.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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