#40B04D

Closest named color: Medium Green (#39AD48). oklch(67.1% 0.172 145.3), rgb(64, 176, 77).

Aa

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

About this color

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

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

Values

HEX#40B04D
RGBrgb(64, 176, 77)
HSLhsl(127, 47%, 47%)
OKLCHoklch(67.1% 0.172 145.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 #40B04D 2.78:1 Fails Lc -58.6 Large or bold text, headings
Black text on #40B04D 7.53:1 AAA Lc 50.7 Large or bold text, headings
#40B04D text on white 2.78:1 Fails Lc 53.3 Large or bold text, headings
#40B04D text on black 7.53:1 AAA Lc -48.5 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 400.

  1. Step 50

    50

    #F0F8F0

    oklch(97.1% 0.014 145.5)

  2. Step 100

    100

    #DEF0DE

    oklch(93.7% 0.031 145.3)

  3. Step 200

    200

    #C1E4C2

    oklch(88.4% 0.059 145.8)

  4. Step 300

    300

    #94D396

    oklch(80.8% 0.106 145.3)

  5. Step 400

    400 (this color)

    #40B04D

    oklch(67.1% 0.172 145.3)

  6. Step 500

    500

    #00A62F

    oklch(63% 0.197 145.3)

  7. Step 600

    600

    #008C26

    oklch(55.6% 0.174 145.3)

  8. Step 700

    700

    #00761F

    oklch(49.2% 0.153 145.3)

  9. Step 800

    800

    #006118

    oklch(42.8% 0.133 145.4)

  10. Step 900

    900

    #005112

    oklch(37.8% 0.118 145.3)

  11. Step 950

    950

    #003007

    oklch(26.9% 0.084 145.2)

Export this scale for Tailwind in the Tailwind colors tool

#40B04D 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)#B3A1440.130
Deuteranopia (no green cones)#A597550.130
Tritanopia (no blue cones)#24AC9A0.104
Achromatopsia (no color)#9B9B9B0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B04D

    #40B04D

    oklch(67.1% 0.172 145.3)

  • #C96BCE

    #C96BCE

    oklch(67.1% 0.172 325.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B04D

    #40B04D

    oklch(67.1% 0.172 145.3)

  • #93A000

    #93A000

    oklch(67.2% 0.153 115.4)

  • #00AE92

    #00AE92

    oklch(67.1% 0.126 175.7)

Open the analogous palette in the generator

Split complementary

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

  • #40B04D

    #40B04D

    oklch(67.1% 0.172 145.3)

  • #9F7CF2

    #9F7CF2

    oklch(67.2% 0.171 295.1)

  • #E3619A

    #E3619A

    oklch(67% 0.171 355.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B04D

    #40B04D

    oklch(67.1% 0.172 145.3)

  • #628FFE

    #628FFE

    oklch(67.1% 0.172 265.4)

  • #EC635D

    #EC635D

    oklch(67.1% 0.171 25.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B04D

    #40B04D

    oklch(67.1% 0.172 145.3)

  • #00A2E0

    #00A2E0

    oklch(67.2% 0.142 234.9)

  • #C96BCE

    #C96BCE

    oklch(67.1% 0.172 325.4)

  • #E07400

    #E07400

    oklch(67% 0.166 55.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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