#478F2F

Closest named color: Sap Green (#5C8B15). oklch(58.2% 0.15 138.9), rgb(71, 143, 47).

Aa

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

About this color

#478F2F is a medium-dark, vivid green. In OKLCH its lightness is 58%, its chroma 0.150 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.23:1.

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

Values

HEX#478F2F
RGBrgb(71, 143, 47)
HSLhsl(105, 51%, 37%)
OKLCHoklch(58.2% 0.15 138.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 #478F2F 4.00:1 AA large text Lc -72.6 Content text, not long reading
Black text on #478F2F 5.23:1 AA Lc 37.0 Non-text elements, placeholder text
#478F2F text on white 4.00:1 AA large text Lc 67.1 Content text, not long reading
#478F2F text on black 5.23:1 AA Lc -34.5 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

    #ABCCA2

    oklch(81% 0.068 139)

  5. Step 400

    400

    #7EB16F

    oklch(70.8% 0.107 138.7)

  6. Step 500

    500

    #5B9D47

    oklch(63.2% 0.138 138.9)

  7. Step 600

    600 (this color)

    #478F2F

    oklch(58.2% 0.15 138.9)

  8. Step 700

    700

    #307218

    oklch(49% 0.139 139)

  9. Step 800

    800

    #295D17

    oklch(42.7% 0.115 138.9)

  10. Step 900

    900

    #264C1A

    oklch(37.6% 0.089 138.9)

  11. Step 950

    950

    #172D10

    oklch(27% 0.058 138.6)

Export this scale for Tailwind in the Tailwind colors tool

#478F2F 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)#9383230.098
Deuteranopia (no green cones)#8A7D370.099
Tritanopia (no blue cones)#418A7B0.102
Achromatopsia (no color)#7F7F7F0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #478F2F

    #478F2F

    oklch(58.2% 0.15 138.9)

  • #A05AB3

    #A05AB3

    oklch(58.3% 0.15 318.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #478F2F

    #478F2F

    oklch(58.2% 0.15 138.9)

  • #828000

    #828000

    oklch(58.3% 0.126 108.7)

  • #00916F

    #00916F

    oklch(58.4% 0.117 168.8)

Open the analogous palette in the generator

Split complementary

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

  • #478F2F

    #478F2F

    oklch(58.2% 0.15 138.9)

  • #7A68CD

    #7A68CD

    oklch(58.2% 0.15 289.1)

  • #B95089

    #B95089

    oklch(58.3% 0.15 349)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #478F2F

    #478F2F

    oklch(58.2% 0.15 138.9)

  • #4079D2

    #4079D2

    oklch(58.2% 0.15 259)

  • #C44F57

    #C44F57

    oklch(58.3% 0.15 18.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #478F2F

    #478F2F

    oklch(58.2% 0.15 138.9)

  • #0087B1

    #0087B1

    oklch(58.3% 0.115 229)

  • #A05AB3

    #A05AB3

    oklch(58.3% 0.15 318.8)

  • #BF5A12

    #BF5A12

    oklch(58.3% 0.15 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 #478F2F, closest first.

Similar named colors

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

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