#40B23E#40B23E

#40B23E is a light, vivid green. Relative luminance 0.333; OKLCH L 67.5% C 0.186 H 142.9°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#40B23E
RGBrgb(64, 178, 62)
HSLhsl(119, 48%, 47%)
HSVhsv(119, 65%, 70%)
CMYKcmyk(64%, 0%, 65.2%, 30.2%)
CIE-LABlab(64.38, -54.63, 48.41)
CIE-LCHlch(64.38, 72.99, 138.45°)
OKLaboklab(67.48% -0.1485 0.1122)
OKLCHoklch(67.48% 0.186 142.9)
XYZxyz(18.9032, 33.2767, 9.9834)
Luminance0.3328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B23E #B03EB2
analogous
#7AB23E #40B23E #3EB276
triadic
#40B23E #3E40B2 #B23E40
tetradic
#40B23E #3E7AB2 #B03EB2 #B2763E
square
#40B23E #3E7AB2 #B03EB2 #B2763E
split-complementary
#40B23E #763EB2 #B23E7A
monochromatic
#1F571E #30852E #40B23E #66C964 #93D992

Accessibility & contrast

On white

2.74
#40B23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#40B23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B23E
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B23E#FFFFFF#000000##000000
##40B23E1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A230
Deuteranopia (green-blind)
#A89848
Tritanopia (blue-blind)
#28AD9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b23e;
/* rgb */ color: rgb(64, 178, 62);
/* oklch */ color: oklch(67.5% 0.186 142.9);
Tailwind
colors: {
  custom: {
    50: '#83ca78',
    500: '#40b23e',
    950: '#000000',
  },
}
SCSS
$custom: #40b23e;
$custom-light: #83ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#40b23e",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 118.966,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67483,
    "c": 0.18609,
    "h": 142.9
  },
  "luminance": 0.33279
}

Semantic roles & 50–950 ramp

primary
#40B23E
secondary
#C388C4
accent
#50D8D6
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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