#40C934#40C934

#40C934 is a light, highly saturated green. Relative luminance 0.431; OKLCH L 73.5% C 0.219 H 142.0°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#40C934
RGBrgb(64, 201, 52)
HSLhsl(115, 59%, 50%)
HSVhsv(115, 74%, 79%)
CMYKcmyk(68.2%, 0%, 74.1%, 21.2%)
CIE-LABlab(71.63, -63.36, 59.88)
CIE-LCHlch(71.63, 87.18, 136.62°)
OKLaboklab(73.46% -0.1726 0.1351)
OKLCHoklch(73.46% 0.219 142)
XYZxyz(23.6195, 43.1087, 10.3242)
Luminance0.4311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C934 #BD34C9
analogous
#8AC934 #40C934 #34C973
triadic
#40C934 #3440C9 #C93440
tetradic
#40C934 #348AC9 #BD34C9 #C97334
square
#40C934 #348AC9 #BD34C9 #C97334
split-complementary
#40C934 #7334C9 #C9348A
monochromatic
#21681B #319827 #40C934 #6DD763 #9AE394

Accessibility & contrast

On white

2.18
#40C934 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#40C934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C934
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C934#FFFFFF#000000##000000
##40C9341.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB616
Deuteranopia (green-blind)
#BEAB44
Tritanopia (blue-blind)
#1FC3AC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c934;
/* rgb */ color: rgb(64, 201, 52);
/* oklch */ color: oklch(73.5% 0.219 142.0);
Tailwind
colors: {
  custom: {
    50: '#88db75',
    500: '#40c934',
    950: '#000000',
  },
}
SCSS
$custom: #40c934;
$custom-light: #88db75;
$custom-dark: #000000;
JSON
{
  "hex": "#40c934",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 52
  },
  "hsl": {
    "h": 115.168,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73458,
    "c": 0.21918,
    "h": 142
  },
  "luminance": 0.43111
}

Semantic roles & 50–950 ramp

primary
#40C934
secondary
#C98ACE
accent
#46E2D5
background
#F9FDF7
surface
#F1FBED
border
#CBD4C8
text
#0D1509
muted
#7E837B

Preview Lab

Preview with #40C934

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

Preview Lab → · Contrast checker → · Palette generator →

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