#40D04F#40D04F

#40D04F is a light, highly saturated green. Relative luminance 0.468; OKLCH L 75.5% C 0.209 H 144.7°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#40D04F
RGBrgb(64, 208, 79)
HSLhsl(126, 61%, 53%)
HSVhsv(126, 69%, 82%)
CMYKcmyk(69.2%, 0%, 62%, 18.4%)
CIE-LABlab(74.04, -63.19, 51.84)
CIE-LCHlch(74.04, 81.73, 140.64°)
OKLaboklab(75.52% -0.1709 0.1212)
OKLCHoklch(75.52% 0.21 144.7)
XYZxyz(26.0798, 46.7634, 15.0474)
Luminance0.4677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D04F #D040C1
analogous
#79D040 #40D04F #40D097
triadic
#40D04F #4F40D0 #D04F40
tetradic
#40D04F #4079D0 #D040C1 #D09740
square
#40D04F #4079D0 #D040C1 #D09740
split-complementary
#40D04F #9740D0 #D04079
monochromatic
#1E7827 #2AA937 #40D04F #71DC7C #A2E8AA

Accessibility & contrast

On white

2.03
#40D04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#40D04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D04F
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D04F#FFFFFF#000000##000000
##40D04F1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD40
Deuteranopia (green-blind)
#C3B15A
Tritanopia (blue-blind)
#07CBB5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #40d04f;
/* rgb */ color: rgb(64, 208, 79);
/* oklch */ color: oklch(75.5% 0.209 144.7);
Tailwind
colors: {
  custom: {
    50: '#88e085',
    500: '#40d04f',
    950: '#000000',
  },
}
SCSS
$custom: #40d04f;
$custom-light: #88e085;
$custom-dark: #000000;
JSON
{
  "hex": "#40d04f",
  "rgb": {
    "r": 64,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 126.25,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75522,
    "c": 0.2095,
    "h": 144.7
  },
  "luminance": 0.46766
}

Semantic roles & 50–950 ramp

primary
#40D04F
secondary
#D597CE
accent
#44D3E4
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #40D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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