#40B052

Closest named color: Medium Green (#39AD48). oklch(67.2% 0.167 146.3), rgb(64, 176, 82).

Aa

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

About this color

#40B052 is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.167 and its hue 146°. 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 7.54:1.

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

Values

HEX#40B052
RGBrgb(64, 176, 82)
HSLhsl(130, 47%, 47%)
OKLCHoklch(67.2% 0.167 146.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 #40B052 2.78:1 Fails Lc -58.5 Large or bold text, headings
Black text on #40B052 7.54:1 AAA Lc 50.8 Large or bold text, headings
#40B052 text on white 2.78:1 Fails Lc 53.2 Large or bold text, headings
#40B052 text on black 7.54:1 AAA Lc -48.6 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

    #C1E4C3

    oklch(88.5% 0.058 146.6)

  4. Step 300

    300

    #94D398

    oklch(80.9% 0.104 146.1)

  5. Step 400

    400 (this color)

    #40B052

    oklch(67.2% 0.167 146.3)

  6. Step 500

    500

    #00A637

    oklch(63.1% 0.191 146.3)

  7. Step 600

    600

    #008C2D

    oklch(55.7% 0.169 146.3)

  8. Step 700

    700

    #007524

    oklch(49% 0.148 146.3)

  9. Step 800

    800

    #00601C

    oklch(42.6% 0.129 146.3)

  10. Step 900

    900

    #005116

    oklch(37.9% 0.115 146.2)

  11. Step 950

    950

    #00300A

    oklch(26.9% 0.081 146.4)

Export this scale for Tailwind in the Tailwind colors tool

#40B052 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)#B2A14A0.129
Deuteranopia (no green cones)#A497590.128
Tritanopia (no blue cones)#22AC9B0.100
Achromatopsia (no color)#9B9B9B0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B052

    #40B052

    oklch(67.2% 0.167 146.3)

  • #C96CCC

    #C96CCC

    oklch(67.1% 0.168 326.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B052

    #40B052

    oklch(67.2% 0.167 146.3)

  • #91A000

    #91A000

    oklch(67.1% 0.154 116.3)

  • #00AE93

    #00AE93

    oklch(67.1% 0.125 176.3)

Open the analogous palette in the generator

Split complementary

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

  • #40B052

    #40B052

    oklch(67.2% 0.167 146.3)

  • #A17CEF

    #A17CEF

    oklch(67.2% 0.167 296.5)

  • #E26399

    #E26399

    oklch(67.1% 0.167 355.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B052

    #40B052

    oklch(67.2% 0.167 146.3)

  • #668FFC

    #668FFC

    oklch(67.2% 0.168 266.4)

  • #EB655D

    #EB655D

    oklch(67.2% 0.168 26)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B052

    #40B052

    oklch(67.2% 0.167 146.3)

  • #00A1E3

    #00A1E3

    oklch(67.1% 0.146 236.7)

  • #C96CCC

    #C96CCC

    oklch(67.1% 0.168 326.1)

  • #DF7600

    #DF7600

    oklch(67.2% 0.164 56.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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