#40B279

Closest named color: Dark Seafoam Green (#3EAF76). oklch(68.4% 0.134 157.8), rgb(64, 178, 121).

Aa

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

About this color

#40B279 is a medium-light, moderately saturated green. In OKLCH its lightness is 68%, its chroma 0.134 and its hue 158°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Seafoam Green (#3EAF76), ΔE 0.009 away. Black text reads best on it, at 7.86:1.

Hue familyGreens
Lightnessmedium-light (68%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameDark Seafoam Green (#3EAF76)
Black text7.86:1
White text2.67:1

Values

HEX#40B279
RGBrgb(64, 178, 121)
HSLhsl(150, 47%, 47%)
OKLCHoklch(68.4% 0.134 157.8)

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 #40B279 2.67:1 Fails Lc -56.8 Large or bold text, headings
Black text on #40B279 7.86:1 AAA Lc 52.4 Large or bold text, headings
#40B279 text on white 2.67:1 Fails Lc 51.6 Large or bold text, headings
#40B279 text on black 7.86:1 AAA Lc -50.3 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

    #F0F8F3

    oklch(97.2% 0.011 158.8)

  2. Step 100

    100

    #DDEFE4

    oklch(93.6% 0.024 159.1)

  3. Step 200

    200

    #C1E3CE

    oklch(88.5% 0.046 158.2)

  4. Step 300

    300

    #92D1AC

    oklch(80.8% 0.083 158.1)

  5. Step 400

    400 (this color)

    #40B279

    oklch(68.4% 0.134 157.8)

  6. Step 500

    500

    #00A365

    oklch(63% 0.148 157.8)

  7. Step 600

    600

    #008955

    oklch(55.5% 0.129 158.2)

  8. Step 700

    700

    #007446

    oklch(49.2% 0.116 157.5)

  9. Step 800

    800

    #005F39

    oklch(42.8% 0.1 157.9)

  10. Step 900

    900

    #004F2F

    oklch(37.7% 0.088 158.2)

  11. Step 950

    950

    #002F1A

    oklch(26.9% 0.063 158.2)

Export this scale for Tailwind in the Tailwind colors tool

#40B279 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)#B1A5760.124
Deuteranopia (no green cones)#A19A7D0.120
Tritanopia (no blue cones)#00B1A30.061
Achromatopsia (no color)#9E9E9E0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B279

    #40B279

    oklch(68.4% 0.134 157.8)

  • #CE77B6

    #CE77B6

    oklch(68.4% 0.134 338.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B279

    #40B279

    oklch(68.4% 0.134 157.8)

  • #82A948

    #82A948

    oklch(68.5% 0.133 127.9)

  • #00B1A7

    #00B1A7

    oklch(68.5% 0.119 187.7)

Open the analogous palette in the generator

Split complementary

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

  • #40B279

    #40B279

    oklch(68.4% 0.134 157.8)

  • #B082D9

    #B082D9

    oklch(68.5% 0.133 307.6)

  • #DE748A

    #DE748A

    oklch(68.5% 0.133 8.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B279

    #40B279

    oklch(68.4% 0.134 157.8)

  • #8790EB

    #8790EB

    oklch(68.5% 0.134 278)

  • #DF795A

    #DF795A

    oklch(68.4% 0.135 37.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B279

    #40B279

    oklch(68.4% 0.134 157.8)

  • #4E9FE8

    #4E9FE8

    oklch(68.4% 0.134 248.3)

  • #CE77B6

    #CE77B6

    oklch(68.4% 0.134 338.1)

  • #CF882D

    #CF882D

    oklch(68.5% 0.133 68)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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