#40C334#40C334

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

Color values

HEX#40C334
RGBrgb(64, 195, 52)
HSLhsl(115, 58%, 48%)
HSVhsv(115, 73%, 76%)
CMYKcmyk(67.2%, 0%, 73.3%, 23.5%)
CIE-LABlab(69.73, -61.38, 57.98)
CIE-LCHlch(69.73, 84.43, 136.63°)
OKLaboklab(71.88% -0.1673 0.1311)
OKLCHoklch(71.88% 0.213 141.9)
XYZxyz(22.2481, 40.3658, 9.8670)
Luminance0.4037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C334 #B734C3
analogous
#87C334 #40C334 #34C36F
triadic
#40C334 #3440C3 #C33440
tetradic
#40C334 #3487C3 #B734C3 #C36F34
square
#40C334 #3487C3 #B734C3 #C36F34
split-complementary
#40C334 #6F34C3 #C33487
monochromatic
#20621A #309327 #40C334 #69D560 #97E190

Accessibility & contrast

On white

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

On black

9.07
#40C334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C334
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C334#FFFFFF#000000##000000
##40C3341.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c334;
/* rgb */ color: rgb(64, 195, 52);
/* oklch */ color: oklch(71.9% 0.212 141.9);
Tailwind
colors: {
  custom: {
    50: '#86d675',
    500: '#40c334',
    950: '#000000',
  },
}
SCSS
$custom: #40c334;
$custom-light: #86d675;
$custom-dark: #000000;
JSON
{
  "hex": "#40c334",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 52
  },
  "hsl": {
    "h": 114.965,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71884,
    "c": 0.2125,
    "h": 141.9
  },
  "luminance": 0.40368
}

Semantic roles & 50–950 ramp

primary
#40C334
secondary
#C687CC
accent
#47E1D4
background
#F9FDF7
surface
#F1FAED
border
#CBD3C8
text
#0D1409
muted
#7E837B

Preview Lab

Preview with #40C334

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

Preview Lab → · Contrast checker → · Palette generator →

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