#40A841

Closest named color: Medium Green (#39AD48). oklch(64.9% 0.171 143.4), rgb(64, 168, 65).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-light (65%)
Chromavivid (0.171)
Temperaturein between
Nearest nameMedium Green (#39AD48)
Black text6.89:1
White text3.04:1

Values

HEX#40A841
RGBrgb(64, 168, 65)
HSLhsl(121, 45%, 45%)
OKLCHoklch(64.9% 0.171 143.4)

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 #40A841 3.04:1 AA large text Lc -62.3 Content text, not long reading
Black text on #40A841 6.89:1 AA Lc 47.2 Large or bold text, headings
#40A841 text on white 3.04:1 AA large text Lc 56.9 Large or bold text, headings
#40A841 text on black 6.89:1 AA Lc -44.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 500.

  1. Step 50

    50

    #F1F8F1

    oklch(97.2% 0.012 145.5)

  2. Step 100

    100

    #E1EEE0

    oklch(93.6% 0.023 143.4)

  3. Step 200

    200

    #C8E2C6

    oklch(88.6% 0.047 143.2)

  4. Step 300

    300

    #A1CF9E

    oklch(80.9% 0.083 143.2)

  5. Step 400

    400

    #6AB668

    oklch(70.8% 0.134 143.5)

  6. Step 500

    500 (this color)

    #40A841

    oklch(64.9% 0.171 143.4)

  7. Step 600

    600

    #008C13

    oklch(55.5% 0.183 143.4)

  8. Step 700

    700

    #00760F

    oklch(49.1% 0.162 143.5)

  9. Step 800

    800

    #00610A

    oklch(42.7% 0.141 143.4)

  10. Step 900

    900

    #105012

    oklch(37.8% 0.112 143.3)

  11. Step 950

    950

    #0C2F0D

    oklch(27.1% 0.071 143.7)

Export this scale for Tailwind in the Tailwind colors tool

#40A841 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)#AB99360.124
Deuteranopia (no green cones)#9E90490.124
Tritanopia (no blue cones)#2CA3920.109
Achromatopsia (no color)#9494940.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A841

    #40A841

    oklch(64.9% 0.171 143.4)

  • #BF65CA

    #BF65CA

    oklch(64.8% 0.172 323.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A841

    #40A841

    oklch(64.9% 0.171 143.4)

  • #8F9700

    #8F9700

    oklch(64.8% 0.145 113.5)

  • #00A788

    #00A788

    oklch(64.9% 0.124 173.2)

Open the analogous palette in the generator

Split complementary

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

  • #40A841

    #40A841

    oklch(64.9% 0.171 143.4)

  • #9576EC

    #9576EC

    oklch(64.9% 0.171 293.1)

  • #DA5B97

    #DA5B97

    oklch(64.9% 0.171 353.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A841

    #40A841

    oklch(64.9% 0.171 143.4)

  • #5689F6

    #5689F6

    oklch(64.8% 0.172 263.5)

  • #E45B5A

    #E45B5A

    oklch(64.8% 0.171 23.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A841

    #40A841

    oklch(64.9% 0.171 143.4)

  • #009BD3

    #009BD3

    oklch(64.9% 0.134 233.2)

  • #BF65CA

    #BF65CA

    oklch(64.8% 0.172 323.1)

  • #D96D00

    #D96D00

    oklch(65% 0.164 53.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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