#40C235#40C235

#40C235 is a light, highly saturated green. Relative luminance 0.399; OKLCH L 71.6% C 0.211 H 142.0°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#40C235
RGBrgb(64, 194, 53)
HSLhsl(115, 57%, 48%)
HSVhsv(115, 73%, 76%)
CMYKcmyk(67%, 0%, 72.7%, 23.9%)
CIE-LABlab(69.42, -60.97, 57.30)
CIE-LCHlch(69.42, 83.67, 136.78°)
OKLaboklab(71.63% -0.1661 0.1298)
OKLCHoklch(71.63% 0.211 142)
XYZxyz(22.0475, 39.9283, 9.9125)
Luminance0.3993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C235 #B735C2
analogous
#86C235 #40C235 #35C270
triadic
#40C235 #3540C2 #C23540
tetradic
#40C235 #3586C2 #B735C2 #C27035
square
#40C235 #3586C2 #B735C2 #C27035
split-complementary
#40C235 #7035C2 #C23586
monochromatic
#20621B #309228 #40C235 #69D460 #97E191

Accessibility & contrast

On white

2.34
#40C235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#40C235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C235
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C235#FFFFFF#000000##000000
##40C2351.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B01C
Deuteranopia (green-blind)
#B7A644
Tritanopia (blue-blind)
#23BCA7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c235;
/* rgb */ color: rgb(64, 194, 53);
/* oklch */ color: oklch(71.6% 0.211 142.0);
Tailwind
colors: {
  custom: {
    50: '#86d675',
    500: '#40c235',
    950: '#000000',
  },
}
SCSS
$custom: #40c235;
$custom-light: #86d675;
$custom-dark: #000000;
JSON
{
  "hex": "#40c235",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 53
  },
  "hsl": {
    "h": 115.319,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71628,
    "c": 0.2108,
    "h": 142
  },
  "luminance": 0.39931
}

Semantic roles & 50–950 ramp

primary
#40C235
secondary
#C687CC
accent
#47E0D4
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #40C235

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

Preview Lab → · Contrast checker → · Palette generator →

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