#40C336#40C336

#40C336 is a light, highly saturated green. Relative luminance 0.404; OKLCH L 71.9% C 0.211 H 142.1°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#40C336
RGBrgb(64, 195, 54)
HSLhsl(116, 57%, 49%)
HSVhsv(116, 72%, 76%)
CMYKcmyk(67.2%, 0%, 72.3%, 23.5%)
CIE-LABlab(69.74, -61.22, 57.27)
CIE-LCHlch(69.74, 83.83, 136.91°)
OKLaboklab(71.9% -0.1667 0.1299)
OKLCHoklch(71.9% 0.211 142.1)
XYZxyz(22.2941, 40.3842, 10.1093)
Luminance0.4039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C336 #B936C3
analogous
#87C336 #40C336 #36C373
triadic
#40C336 #3640C3 #C33640
tetradic
#40C336 #3687C3 #B936C3 #C37336
square
#40C336 #3687C3 #B936C3 #C37336
split-complementary
#40C336 #7336C3 #C33687
monochromatic
#21631B #309329 #40C336 #6BD463 #98E192

Accessibility & contrast

On white

2.31
#40C336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#40C336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C336
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C336#FFFFFF#000000##000000
##40C3361.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B11D
Deuteranopia (green-blind)
#B8A644
Tritanopia (blue-blind)
#22BDA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c336;
/* rgb */ color: rgb(64, 195, 54);
/* oklch */ color: oklch(71.9% 0.211 142.1);
Tailwind
colors: {
  custom: {
    50: '#86d676',
    500: '#40c336',
    950: '#000000',
  },
}
SCSS
$custom: #40c336;
$custom-light: #86d676;
$custom-dark: #000000;
JSON
{
  "hex": "#40c336",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 54
  },
  "hsl": {
    "h": 115.745,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71899,
    "c": 0.21134,
    "h": 142.1
  },
  "luminance": 0.40387
}

Semantic roles & 50–950 ramp

primary
#40C336
secondary
#C789CC
accent
#48E0D5
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #40C336

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

Preview Lab → · Contrast checker → · Palette generator →

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