#478E31

Closest named color: Sap Green (#5C8B15). oklch(58% 0.147 139.1), rgb(71, 142, 49).

Aa

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

About this color

#478E31 is a medium-dark, vivid green. In OKLCH its lightness is 58%, its chroma 0.147 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.023 away. Black text reads best on it, at 5.18:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromavivid (0.147)
Temperaturein between
Nearest nameSap Green (#5C8B15)
Black text5.18:1
White text4.05:1

Values

HEX#478E31
RGBrgb(71, 142, 49)
HSLhsl(106, 49%, 37%)
OKLCHoklch(58% 0.147 139.1)

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 #478E31 4.05:1 AA large text Lc -73.0 Content text, not long reading
Black text on #478E31 5.18:1 AA Lc 36.6 Non-text elements, placeholder text
#478E31 text on white 4.05:1 AA large text Lc 67.5 Content text, not long reading
#478E31 text on black 5.18:1 AA Lc -34.2 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E4EDE1

    oklch(93.6% 0.019 137.8)

  3. Step 200

    200

    #CDDFC8

    oklch(88.4% 0.037 138.9)

  4. Step 300

    300

    #ABCBA3

    oklch(80.8% 0.065 139.4)

  5. Step 400

    400

    #7EB170

    oklch(70.8% 0.106 139.1)

  6. Step 500

    500

    #5C9C49

    oklch(63% 0.134 138.9)

  7. Step 600

    600 (this color)

    #478E31

    oklch(58% 0.147 139.1)

  8. Step 700

    700

    #31721B

    oklch(49.1% 0.137 139.1)

  9. Step 800

    800

    #2A5D19

    oklch(42.7% 0.113 139)

  10. Step 900

    900

    #274C1B

    oklch(37.6% 0.088 138.7)

  11. Step 950

    950

    #172D11

    oklch(27.1% 0.056 139.3)

Export this scale for Tailwind in the Tailwind colors tool

#478E31 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)#9282260.097
Deuteranopia (no green cones)#897C390.098
Tritanopia (no blue cones)#41897B0.101
Achromatopsia (no color)#7E7E7E0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #478E31

    #478E31

    oklch(58% 0.147 139.1)

  • #9F5AB0

    #9F5AB0

    oklch(58% 0.146 319.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #478E31

    #478E31

    oklch(58% 0.147 139.1)

  • #817F00

    #817F00

    oklch(57.9% 0.125 108.6)

  • #00906E

    #00906E

    oklch(58.1% 0.117 168.7)

Open the analogous palette in the generator

Split complementary

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

  • #478E31

    #478E31

    oklch(58% 0.147 139.1)

  • #7968CA

    #7968CA

    oklch(57.9% 0.146 289)

  • #B75088

    #B75088

    oklch(58% 0.147 348.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #478E31

    #478E31

    oklch(58% 0.147 139.1)

  • #4178D0

    #4178D0

    oklch(57.9% 0.148 259.4)

  • #C24F57

    #C24F57

    oklch(58% 0.148 18.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #478E31

    #478E31

    oklch(58% 0.147 139.1)

  • #0086B0

    #0086B0

    oklch(58% 0.114 229.1)

  • #9F5AB0

    #9F5AB0

    oklch(58% 0.146 319.5)

  • #BD5A15

    #BD5A15

    oklch(58% 0.147 48.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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