#40A23E#40A23E

#40A23E is a light, vivid green. Relative luminance 0.273; OKLCH L 63.2% C 0.166 H 143.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#40A23E
RGBrgb(64, 162, 62)
HSLhsl(119, 45%, 44%)
HSVhsv(119, 62%, 64%)
CMYKcmyk(60.5%, 0%, 61.7%, 36.5%)
CIE-LABlab(59.23, -48.75, 42.64)
CIE-LCHlch(59.23, 64.76, 138.82°)
OKLaboklab(63.22% -0.1325 0.0999)
OKLCHoklch(63.22% 0.166 143)
XYZxyz(15.9033, 27.2770, 8.9834)
Luminance0.2728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A23E #A03EA2
analogous
#72A23E #40A23E #3EA26E
triadic
#40A23E #3E40A2 #A23E40
tetradic
#40A23E #3E72A2 #A03EA2 #A26E3E
square
#40A23E #3E72A2 #A03EA2 #A26E3E
split-complementary
#40A23E #6E3EA2 #A23E72
monochromatic
#1D491C #2F762D #40A23E #5EC15C #8AD289

Accessibility & contrast

On white

3.25
#40A23E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#40A23E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A23E
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A23E#FFFFFF#000000##000000
##40A23E1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59433
Deuteranopia (green-blind)
#998B46
Tritanopia (blue-blind)
#2F9D8D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a23e;
/* rgb */ color: rgb(64, 162, 62);
/* oklch */ color: oklch(63.2% 0.166 143.0);
Tailwind
colors: {
  custom: {
    50: '#80be77',
    500: '#40a23e',
    950: '#000000',
  },
}
SCSS
$custom: #40a23e;
$custom-light: #80be77;
$custom-dark: #000000;
JSON
{
  "hex": "#40a23e",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 118.8,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63225,
    "c": 0.16596,
    "h": 143
  },
  "luminance": 0.27278
}

Semantic roles & 50–950 ramp

primary
#40A23E
secondary
#BB80BC
accent
#53D4D2
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #40A23E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#40A23E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva