#40D239#40D239

#40D239 is a light, highly saturated green. Relative luminance 0.475; OKLCH L 75.8% C 0.226 H 142.4°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#40D239
RGBrgb(64, 210, 57)
HSLhsl(117, 63%, 52%)
HSVhsv(117, 73%, 82%)
CMYKcmyk(69.5%, 0%, 72.9%, 17.6%)
CIE-LABlab(74.49, -65.91, 61.02)
CIE-LCHlch(74.49, 89.82, 137.20°)
OKLaboklab(75.84% -0.1793 0.1381)
OKLCHoklch(75.84% 0.226 142.4)
XYZxyz(25.8980, 47.4758, 11.6690)
Luminance0.4748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D239 #CB39D2
analogous
#8CD239 #40D239 #39D27F
triadic
#40D239 #3940D2 #D23940
tetradic
#40D239 #398CD2 #CB39D2 #D27F39
square
#40D239 #398CD2 #CB39D2 #D27F39
split-complementary
#40D239 #7F39D2 #D2398C
monochromatic
#1F761B #2CA826 #40D239 #70DD6B #A0E99D

Accessibility & contrast

On white

2.00
#40D239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#40D239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D239
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D239#FFFFFF#000000##000000
##40D2391.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE1C
Deuteranopia (green-blind)
#C6B349
Tritanopia (blue-blind)
#15CCB4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40d239;
/* rgb */ color: rgb(64, 210, 57);
/* oklch */ color: oklch(75.8% 0.226 142.4);
Tailwind
colors: {
  custom: {
    50: '#89e179',
    500: '#40d239',
    950: '#000000',
  },
}
SCSS
$custom: #40d239;
$custom-light: #89e179;
$custom-dark: #000000;
JSON
{
  "hex": "#40d239",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 57
  },
  "hsl": {
    "h": 117.255,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.75844,
    "c": 0.22629,
    "h": 142.4
  },
  "luminance": 0.47479
}

Semantic roles & 50–950 ramp

primary
#40D239
secondary
#D292D5
accent
#42E6DE
background
#F9FDF7
surface
#F2FBEE
border
#CCD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #40D239

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

Preview Lab → · Contrast checker → · Palette generator →

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