#40AF47

Closest named color: Medium Green (#39AD48). oklch(66.8% 0.175 144.3), rgb(64, 175, 71).

Aa

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

About this color

#40AF47 is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.175 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Green (#39AD48), ΔE 0.008 away. Black text reads best on it, at 7.44:1.

Hue familyGreens
Lightnessmedium-light (67%)
Chromavivid (0.175)
Temperaturein between
Nearest nameMedium Green (#39AD48)
Black text7.44:1
White text2.82:1

Values

HEX#40AF47
RGBrgb(64, 175, 71)
HSLhsl(124, 46%, 47%)
OKLCHoklch(66.8% 0.175 144.3)

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 #40AF47 2.82:1 Fails Lc -59.1 Large or bold text, headings
Black text on #40AF47 7.44:1 AAA Lc 50.2 Large or bold text, headings
#40AF47 text on white 2.82:1 Fails Lc 53.8 Large or bold text, headings
#40AF47 text on black 7.44:1 AAA Lc -48.0 Large or bold text, headings

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 500.

  1. Step 50

    50

    #F1F8F1

    oklch(97.2% 0.012 145.5)

  2. Step 100

    100

    #E0EFE0

    oklch(93.7% 0.026 145.4)

  3. Step 200

    200

    #C7E2C6

    oklch(88.5% 0.048 144.2)

  4. Step 300

    300

    #9FD09E

    oklch(81% 0.086 144.2)

  5. Step 400

    400

    #66B668

    oklch(70.6% 0.136 144.5)

  6. Step 500

    500 (this color)

    #40AF47

    oklch(66.8% 0.175 144.3)

  7. Step 600

    600

    #008C1E

    oklch(55.6% 0.178 144.3)

  8. Step 700

    700

    #007617

    oklch(49.1% 0.158 144.3)

  9. Step 800

    800

    #006111

    oklch(42.8% 0.138 144.2)

  10. Step 900

    900

    #095012

    oklch(37.7% 0.114 144.3)

  11. Step 950

    950

    #0A2F0D

    oklch(27% 0.072 144.5)

Export this scale for Tailwind in the Tailwind colors tool

#40AF47 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)#B2A03C0.129
Deuteranopia (no green cones)#A4964F0.129
Tritanopia (no blue cones)#27AA980.109
Achromatopsia (no color)#9A9A9A0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #40AF47

    #40AF47

    oklch(66.8% 0.175 144.3)

  • #C869D0

    #C869D0

    oklch(66.8% 0.176 324.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40AF47

    #40AF47

    oklch(66.8% 0.175 144.3)

  • #949E00

    #949E00

    oklch(66.8% 0.15 114.2)

  • #00AD8F

    #00AD8F

    oklch(66.7% 0.126 174.4)

Open the analogous palette in the generator

Split complementary

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

  • #40AF47

    #40AF47

    oklch(66.8% 0.175 144.3)

  • #9D7AF4

    #9D7AF4

    oklch(66.8% 0.176 294.4)

  • #E35F9B

    #E35F9B

    oklch(66.8% 0.175 354.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40AF47

    #40AF47

    oklch(66.8% 0.175 144.3)

  • #5D8EFF

    #5D8EFF

    oklch(66.7% 0.176 264.5)

  • #ED605D

    #ED605D

    oklch(66.8% 0.175 24.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40AF47

    #40AF47

    oklch(66.8% 0.175 144.3)

  • #00A1DD

    #00A1DD

    oklch(66.8% 0.14 234.1)

  • #C869D0

    #C869D0

    oklch(66.8% 0.176 324.4)

  • #E07200

    #E07200

    oklch(66.7% 0.167 54.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #40AF47.

Similar named colors

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

Use #40AF47 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.