#478E2B

Closest named color: Sap Green (#5C8B15). oklch(57.9% 0.151 138.2), rgb(71, 142, 43).

Aa

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

About this color

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

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

Values

HEX#478E2B
RGBrgb(71, 142, 43)
HSLhsl(103, 54%, 36%)
OKLCHoklch(57.9% 0.151 138.2)

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 #478E2B 4.06:1 AA large text Lc -73.0 Content text, not long reading
Black text on #478E2B 5.17:1 AA Lc 36.5 Non-text elements, placeholder text
#478E2B text on white 4.06:1 AA large text Lc 67.5 Content text, not long reading
#478E2B text on black 5.17:1 AA Lc -34.1 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

    #CDE0C8

    oklch(88.6% 0.038 139.2)

  4. Step 300

    300

    #ABCCA1

    oklch(81% 0.069 138.5)

  5. Step 400

    400

    #7EB16D

    oklch(70.7% 0.11 138.1)

  6. Step 500

    500

    #5C9D45

    oklch(63.2% 0.139 138.2)

  7. Step 600

    600 (this color)

    #478E2B

    oklch(57.9% 0.151 138.2)

  8. Step 700

    700

    #317214

    oklch(49.1% 0.141 138.3)

  9. Step 800

    800

    #2A5D15

    oklch(42.7% 0.116 138.3)

  10. Step 900

    900

    #274C19

    oklch(37.6% 0.09 138.1)

  11. Step 950

    950

    #172D10

    oklch(27% 0.058 138.6)

Export this scale for Tailwind in the Tailwind colors tool

#478E2B 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)#92821D0.097
Deuteranopia (no green cones)#897C340.098
Tritanopia (no blue cones)#42897A0.105
Achromatopsia (no color)#7E7E7E0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #478E2B

    #478E2B

    oklch(57.9% 0.151 138.2)

  • #9F59B3

    #9F59B3

    oklch(58% 0.151 318.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #478E2B

    #478E2B

    oklch(57.9% 0.151 138.2)

  • #827F00

    #827F00

    oklch(58% 0.125 108.1)

  • #00906D

    #00906D

    oklch(58% 0.117 168.1)

Open the analogous palette in the generator

Split complementary

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

  • #478E2B

    #478E2B

    oklch(57.9% 0.151 138.2)

  • #7868CD

    #7868CD

    oklch(58% 0.15 288.1)

  • #B84F89

    #B84F89

    oklch(58% 0.15 348.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #478E2B

    #478E2B

    oklch(57.9% 0.151 138.2)

  • #3C78D2

    #3C78D2

    oklch(57.8% 0.152 258.5)

  • #C34D57

    #C34D57

    oklch(57.9% 0.151 18.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #478E2B

    #478E2B

    oklch(57.9% 0.151 138.2)

  • #0086AF

    #0086AF

    oklch(57.9% 0.114 228.5)

  • #9F59B3

    #9F59B3

    oklch(58% 0.151 318.4)

  • #BF5810

    #BF5810

    oklch(58% 0.152 48.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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