#478A18

Closest named color: Sap Green (#5C8B15). oklch(56.7% 0.157 136), rgb(71, 138, 24).

Aa

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

About this color

#478A18 is a medium-dark, vivid green. In OKLCH its lightness is 57%, its chroma 0.157 and its hue 136°. 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 4.91:1.

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

Values

HEX#478A18
RGBrgb(71, 138, 24)
HSLhsl(95, 70%, 32%)
OKLCHoklch(56.7% 0.157 136)

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 #478A18 4.27:1 AA large text Lc -74.7 Content text, not long reading
Black text on #478A18 4.91:1 AA Lc 34.9 Non-text elements, placeholder text
#478A18 text on white 4.27:1 AA large text Lc 69.2 Content text, not long reading
#478A18 text on black 4.91:1 AA Lc -32.4 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

    #CEE0C6

    oklch(88.6% 0.04 135.9)

  4. Step 300

    300

    #ACCC9E

    oklch(81% 0.072 136.2)

  5. Step 400

    400

    #80B168

    oklch(70.8% 0.114 135.9)

  6. Step 500

    500

    #5F9C3C

    oklch(63% 0.144 135.8)

  7. Step 600

    600 (this color)

    #478A18

    oklch(56.7% 0.157 136)

  8. Step 700

    700

    #357200

    oklch(49.1% 0.146 136)

  9. Step 800

    800

    #2D5D09

    oklch(42.8% 0.121 135.9)

  10. Step 900

    900

    #284C13

    oklch(37.6% 0.094 136.1)

  11. Step 950

    950

    #182D0D

    oklch(27.1% 0.06 136.2)

Export this scale for Tailwind in the Tailwind colors tool

#478A18 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)#8F7E000.096
Deuteranopia (no green cones)#8678260.097
Tritanopia (no blue cones)#4485750.112
Achromatopsia (no color)#7A7A7A0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #478A18

    #478A18

    oklch(56.7% 0.157 136)

  • #9A54B4

    #9A54B4

    oklch(56.7% 0.158 316.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #478A18

    #478A18

    oklch(56.7% 0.157 136)

  • #817A00

    #817A00

    oklch(56.8% 0.121 105.6)

  • #008C66

    #008C66

    oklch(56.7% 0.118 165.7)

Open the analogous palette in the generator

Split complementary

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

  • #478A18

    #478A18

    oklch(56.7% 0.157 136)

  • #7164CD

    #7164CD

    oklch(56.7% 0.157 285.9)

  • #B4498A

    #B4498A

    oklch(56.7% 0.157 345.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #478A18

    #478A18

    oklch(56.7% 0.157 136)

  • #2D76D1

    #2D76D1

    oklch(56.8% 0.158 255.9)

  • #C14656

    #C14656

    oklch(56.7% 0.157 16)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #478A18

    #478A18

    oklch(56.7% 0.157 136)

  • #0083A7

    #0083A7

    oklch(56.8% 0.108 225.7)

  • #9A54B4

    #9A54B4

    oklch(56.7% 0.158 316.1)

  • #BE5105

    #BE5105

    oklch(56.8% 0.157 46.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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