#417D1F

Closest named color: Dark Grass Green (#388004). oklch(52.9% 0.14 136.6), rgb(65, 125, 31).

Aa

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

About this color

#417D1F is a medium-dark, vivid green. In OKLCH its lightness is 53%, its chroma 0.140 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.020 away. White text reads best on it, at 5.02:1.

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

Values

HEX#417D1F
RGBrgb(65, 125, 31)
HSLhsl(98, 60%, 31%)
OKLCHoklch(52.9% 0.14 136.6)

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 #417D1F 5.02:1 AA Lc -79.9 Fine for body text
Black text on #417D1F 4.17:1 AA large text Lc 29.6 Dividers and decoration only
#417D1F text on white 5.02:1 AA Lc 74.5 Content text, not long reading
#417D1F text on black 4.17:1 AA large text Lc -27.2 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

    #CFDFC8

    oklch(88.5% 0.035 136)

  4. Step 300

    300

    #AECBA3

    oklch(81% 0.063 137.1)

  5. Step 400

    400

    #83AF70

    oklch(70.6% 0.1 136.6)

  6. Step 500

    500

    #639B49

    oklch(63.1% 0.129 136.7)

  7. Step 600

    600 (this color)

    #417D1F

    oklch(52.9% 0.14 136.6)

  8. Step 700

    700

    #3A711B

    oklch(49.2% 0.131 136.7)

  9. Step 800

    800

    #305C19

    oklch(42.8% 0.108 136.8)

  10. Step 900

    900

    #2B4B1B

    oklch(37.6% 0.084 136.5)

  11. Step 950

    950

    #1A2C11

    oklch(26.9% 0.052 136.1)

Export this scale for Tailwind in the Tailwind colors tool

#417D1F 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)#81720E0.087
Deuteranopia (no green cones)#796D280.088
Tritanopia (no blue cones)#3E786B0.100
Achromatopsia (no color)#6F6F6F0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #417D1F

    #417D1F

    oklch(52.9% 0.14 136.6)

  • #8B4EA1

    #8B4EA1

    oklch(53% 0.14 316.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #417D1F

    #417D1F

    oklch(52.9% 0.14 136.6)

  • #746F00

    #746F00

    oklch(52.9% 0.113 106.6)

  • #007F5E

    #007F5E

    oklch(52.9% 0.109 166.9)

Open the analogous palette in the generator

Split complementary

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

  • #417D1F

    #417D1F

    oklch(52.9% 0.14 136.6)

  • #685BB7

    #685BB7

    oklch(52.9% 0.14 287.1)

  • #A3447C

    #A3447C

    oklch(53% 0.141 346.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #417D1F

    #417D1F

    oklch(52.9% 0.14 136.6)

  • #2F6BBB

    #2F6BBB

    oklch(53% 0.14 256.7)

  • #AD424E

    #AD424E

    oklch(52.8% 0.14 16.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #417D1F

    #417D1F

    oklch(52.9% 0.14 136.6)

  • #007799

    #007799

    oklch(53.1% 0.102 226.5)

  • #8B4EA1

    #8B4EA1

    oklch(53% 0.14 316.5)

  • #AA4C10

    #AA4C10

    oklch(53% 0.14 46.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #417D1F 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.