#478E40

Closest named color: Fern Green (#548D44). oklch(58.2% 0.134 141.9), rgb(71, 142, 64).

Aa

Black text reads best on this color (5.21:1).

About this color

#478E40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.134 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Fern Green (#548D44), ΔE 0.015 away. Black text reads best on it, at 5.21:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameFern Green (#548D44)
Black text5.21:1
White text4.02:1

Values

HEX#478E40
RGBrgb(71, 142, 64)
HSLhsl(115, 38%, 40%)
OKLCHoklch(58.2% 0.134 141.9)

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 #478E40 4.02:1 AA large text Lc -72.8 Content text, not long reading
Black text on #478E40 5.21:1 AA Lc 36.7 Non-text elements, placeholder text
#478E40 text on white 4.02:1 AA large text Lc 67.3 Content text, not long reading
#478E40 text on black 5.21:1 AA Lc -34.3 Non-text elements, placeholder text

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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E4EDE2

    oklch(93.6% 0.017 140)

  3. Step 200

    200

    #CDDFCB

    oklch(88.5% 0.033 142.5)

  4. Step 300

    300

    #ABCBA7

    oklch(80.9% 0.061 142)

  5. Step 400

    400

    #7EB078

    oklch(70.7% 0.096 141.9)

  6. Step 500

    500

    #5B9C54

    oklch(63.1% 0.124 141.9)

  7. Step 600

    600 (this color)

    #478E40

    oklch(58.2% 0.134 141.9)

  8. Step 700

    700

    #30712A

    oklch(48.9% 0.124 142)

  9. Step 800

    800

    #295C24

    oklch(42.5% 0.103 141.9)

  10. Step 900

    900

    #264C23

    oklch(37.7% 0.08 142.3)

  11. Step 950

    950

    #172D15

    oklch(27.1% 0.051 142.2)

Export this scale for Tailwind in the Tailwind colors tool

#478E40 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)#9182390.096
Deuteranopia (no green cones)#887C460.096
Tritanopia (no blue cones)#3F8A7C0.086
Achromatopsia (no color)#7F7F7F0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #478E40

    #478E40

    oklch(58.2% 0.134 141.9)

  • #9F5DA9

    #9F5DA9

    oklch(58.1% 0.134 322.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #478E40

    #478E40

    oklch(58.2% 0.134 141.9)

  • #7D8100

    #7D8100

    oklch(58% 0.128 111.9)

  • #009073

    #009073

    oklch(58.2% 0.113 171.9)

Open the analogous palette in the generator

Split complementary

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

  • #478E40

    #478E40

    oklch(58.2% 0.134 141.9)

  • #7D6AC3

    #7D6AC3

    oklch(58.2% 0.134 291.5)

  • #B55583

    #B55583

    oklch(58.2% 0.135 352.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #478E40

    #478E40

    oklch(58.2% 0.134 141.9)

  • #4D78C9

    #4D78C9

    oklch(58% 0.134 262)

  • #BD5656

    #BD5656

    oklch(58.2% 0.133 22.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #478E40

    #478E40

    oklch(58.2% 0.134 141.9)

  • #0086B5

    #0086B5

    oklch(58.2% 0.119 232.1)

  • #9F5DA9

    #9F5DA9

    oklch(58.1% 0.134 322.2)

  • #B76021

    #B76021

    oklch(58.2% 0.134 51.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #478E40 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.