#417A27

Closest named color: Tree Green (#2A7E19). oklch(52.2% 0.13 137.4), rgb(65, 122, 39).

Aa

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

About this color

#417A27 is a medium-dark, moderately saturated green. In OKLCH its lightness is 52%, its chroma 0.130 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.027 away. White text reads best on it, at 5.20:1.

Hue familyGreens
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text4.03:1
White text5.20:1

Values

HEX#417A27
RGBrgb(65, 122, 39)
HSLhsl(101, 52%, 32%)
OKLCHoklch(52.2% 0.13 137.4)

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 #417A27 5.20:1 AA Lc -80.9 Fine for body text
Black text on #417A27 4.03:1 AA large text Lc 28.5 Dividers and decoration only
#417A27 text on white 5.20:1 AA Lc 75.6 Fine for body text
#417A27 text on black 4.03:1 AA large text Lc -26.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 700.

  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

    #82B071

    oklch(70.8% 0.101 137.5)

  6. Step 500

    500

    #619B4A

    oklch(63% 0.129 137.5)

  7. Step 600

    600

    #47852A

    oklch(55.5% 0.14 137.3)

  8. Step 700

    700 (this color)

    #417A27

    oklch(52.2% 0.13 137.4)

  9. Step 800

    800

    #2F5C1A

    oklch(42.7% 0.108 137.3)

  10. Step 900

    900

    #2A4C1C

    oklch(37.8% 0.085 137.5)

  11. Step 950

    950

    #192C11

    oklch(26.9% 0.053 137.2)

Export this scale for Tailwind in the Tailwind colors tool

#417A27 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)#7E701C0.083
Deuteranopia (no green cones)#766B2E0.083
Tritanopia (no blue cones)#3E76690.091
Achromatopsia (no color)#6D6D6D0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #417A27

    #417A27

    oklch(52.2% 0.13 137.4)

  • #874E9A

    #874E9A

    oklch(52.1% 0.13 317.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #417A27

    #417A27

    oklch(52.2% 0.13 137.4)

  • #716D00

    #716D00

    oklch(52.1% 0.112 107.2)

  • #007C5D

    #007C5D

    oklch(52.1% 0.106 167.8)

Open the analogous palette in the generator

Split complementary

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

  • #417A27

    #417A27

    oklch(52.2% 0.13 137.4)

  • #665BB0

    #665BB0

    oklch(52.3% 0.13 286.9)

  • #9D4677

    #9D4677

    oklch(52.2% 0.129 347.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #417A27

    #417A27

    oklch(52.2% 0.13 137.4)

  • #3469B3

    #3469B3

    oklch(52.2% 0.13 257.3)

  • #A7444D

    #A7444D

    oklch(52.1% 0.131 17.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #417A27

    #417A27

    oklch(52.2% 0.13 137.4)

  • #007497

    #007497

    oklch(52.2% 0.102 227.8)

  • #874E9A

    #874E9A

    oklch(52.1% 0.13 317.2)

  • #A44D18

    #A44D18

    oklch(52.2% 0.131 47.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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