#478B22

Closest named color: Sap Green (#5C8B15). oklch(57.1% 0.153 136.9), rgb(71, 139, 34).

Aa

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

About this color

#478B22 is a medium-dark, vivid green. In OKLCH its lightness is 57%, its chroma 0.153 and its hue 137°. 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 4.98:1.

Hue familyGreens
Lightnessmedium-dark (57%)
Chromavivid (0.153)
Temperaturein between
Nearest nameSap Green (#5C8B15)
Black text4.98:1
White text4.21:1

Values

HEX#478B22
RGBrgb(71, 139, 34)
HSLhsl(99, 61%, 34%)
OKLCHoklch(57.1% 0.153 136.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 #478B22 4.21:1 AA large text Lc -74.3 Content text, not long reading
Black text on #478B22 4.98:1 AA Lc 35.3 Non-text elements, placeholder text
#478B22 text on white 4.21:1 AA large text Lc 68.8 Content text, not long reading
#478B22 text on black 4.98:1 AA Lc -32.9 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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDE0

    oklch(93.6% 0.02 135.8)

  3. Step 200

    200

    #CEDFC7

    oklch(88.4% 0.037 136.5)

  4. Step 300

    300

    #ACCCA0

    oklch(81% 0.07 137.2)

  5. Step 400

    400

    #7FB16B

    oklch(70.8% 0.111 137.2)

  6. Step 500

    500

    #5E9C41

    oklch(63% 0.14 136.9)

  7. Step 600

    600 (this color)

    #478B22

    oklch(57.1% 0.153 136.9)

  8. Step 700

    700

    #34720C

    oklch(49.1% 0.143 137)

  9. Step 800

    800

    #2C5D10

    oklch(42.8% 0.118 136.9)

  10. Step 900

    900

    #284C16

    oklch(37.6% 0.092 136.8)

  11. Step 950

    950

    #182D0E

    oklch(27.1% 0.059 136.7)

Export this scale for Tailwind in the Tailwind colors tool

#478B22 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)#907F0D0.096
Deuteranopia (no green cones)#87792D0.098
Tritanopia (no blue cones)#4386770.108
Achromatopsia (no color)#7B7B7B0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #478B22

    #478B22

    oklch(57.1% 0.153 136.9)

  • #9B56B2

    #9B56B2

    oklch(57% 0.153 317.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #478B22

    #478B22

    oklch(57.1% 0.153 136.9)

  • #807C00

    #807C00

    oklch(57.1% 0.123 107.5)

  • #008D69

    #008D69

    oklch(57.1% 0.117 167.1)

Open the analogous palette in the generator

Split complementary

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

  • #478B22

    #478B22

    oklch(57.1% 0.153 136.9)

  • #7465CC

    #7465CC

    oklch(57.1% 0.154 287.2)

  • #B54B89

    #B54B89

    oklch(57% 0.154 346.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #478B22

    #478B22

    oklch(57.1% 0.153 136.9)

  • #3476D0

    #3476D0

    oklch(57% 0.154 257.1)

  • #C14956

    #C14956

    oklch(57.1% 0.154 17)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #478B22

    #478B22

    oklch(57.1% 0.153 136.9)

  • #0084A9

    #0084A9

    oklch(57.1% 0.11 226.2)

  • #9B56B2

    #9B56B2

    oklch(57% 0.153 317.1)

  • #BD540C

    #BD540C

    oklch(57.1% 0.153 47)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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