#40B262

Closest named color: Cool Green (#33B864). oklch(68% 0.155 150), rgb(64, 178, 98).

Aa

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

About this color

#40B262 is a medium-light, vivid green. In OKLCH its lightness is 68%, its chroma 0.155 and its hue 150°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Cool Green (#33B864), ΔE 0.017 away. Black text reads best on it, at 7.76:1.

Hue familyGreens
Lightnessmedium-light (68%)
Chromavivid (0.155)
Temperaturein between
Nearest nameCool Green (#33B864)
Black text7.76:1
White text2.70:1

Values

HEX#40B262
RGBrgb(64, 178, 98)
HSLhsl(138, 47%, 47%)
OKLCHoklch(68% 0.155 150)

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 #40B262 2.70:1 Fails Lc -57.3 Large or bold text, headings
Black text on #40B262 7.76:1 AAA Lc 51.9 Large or bold text, headings
#40B262 text on white 2.70:1 Fails Lc 52.1 Large or bold text, headings
#40B262 text on black 7.76:1 AAA Lc -49.8 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

    #F0F8F1

    oklch(97.1% 0.013 149.3)

  2. Step 100

    100

    #DDF0E0

    oklch(93.7% 0.029 150.1)

  3. Step 200

    200

    #C1E4C7

    oklch(88.6% 0.054 150.1)

  4. Step 300

    300

    #93D39F

    oklch(81% 0.098 149.6)

  5. Step 400

    400 (this color)

    #40B262

    oklch(68% 0.155 150)

  6. Step 500

    500

    #00A54B

    oklch(63.1% 0.174 149.9)

  7. Step 600

    600

    #008B3E

    oklch(55.6% 0.154 149.9)

  8. Step 700

    700

    #007533

    oklch(49.1% 0.136 149.9)

  9. Step 800

    800

    #006029

    oklch(42.7% 0.118 150)

  10. Step 900

    900

    #005021

    oklch(37.7% 0.104 150)

  11. Step 950

    950

    #003011

    oklch(27% 0.074 150)

Export this scale for Tailwind in the Tailwind colors tool

#40B262 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)#B3A35C0.128
Deuteranopia (no green cones)#A599670.127
Tritanopia (no blue cones)#17AF9F0.086
Achromatopsia (no color)#9D9D9D0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B262

    #40B262

    oklch(68% 0.155 150)

  • #CC71C5

    #CC71C5

    oklch(67.9% 0.155 330)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B262

    #40B262

    oklch(68% 0.155 150)

  • #8DA517

    #8DA517

    oklch(68% 0.155 119.8)

  • #00B09B

    #00B09B

    oklch(67.9% 0.123 180.2)

Open the analogous palette in the generator

Split complementary

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

  • #40B262

    #40B262

    oklch(68% 0.155 150)

  • #A87FE9

    #A87FE9

    oklch(68% 0.156 300.1)

  • #E26A94

    #E26A94

    oklch(67.9% 0.155 0)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B262

    #40B262

    oklch(68% 0.155 150)

  • #7391F7

    #7391F7

    oklch(68% 0.154 269.6)

  • #E86E5C

    #E86E5C

    oklch(68% 0.155 30.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B262

    #40B262

    oklch(68% 0.155 150)

  • #03A2ED

    #03A2ED

    oklch(67.9% 0.155 240)

  • #CC71C5

    #CC71C5

    oklch(67.9% 0.155 330)

  • #DC7D12

    #DC7D12

    oklch(68% 0.155 59.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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