#40A635#40A635

#40A635 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.2% C 0.178 H 141.7°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#40A635
RGBrgb(64, 166, 53)
HSLhsl(114, 52%, 43%)
HSVhsv(114, 68%, 65%)
CMYKcmyk(61.4%, 0%, 68.1%, 34.9%)
CIE-LABlab(60.44, -51.18, 47.94)
CIE-LCHlch(60.44, 70.12, 136.87°)
OKLaboklab(64.2% -0.1396 0.1102)
OKLCHoklch(64.2% 0.178 141.7)
XYZxyz(16.3923, 28.6179, 8.0274)
Luminance0.2862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A635 #9B35A6
analogous
#79A635 #40A635 #35A662
triadic
#40A635 #3540A6 #A63540
tetradic
#40A635 #3579A6 #9B35A6 #A66235
square
#40A635 #3579A6 #9B35A6 #A66235
split-complementary
#40A635 #6235A6 #A63579
monochromatic
#1C4917 #2E7826 #40A635 #5CC751 #88D67F

Accessibility & contrast

On white

3.12
#40A635 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#40A635 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A635
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A635#FFFFFF#000000##000000
##40A6351.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9725
Deuteranopia (green-blind)
#9D8E3F
Tritanopia (blue-blind)
#2FA18F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a635;
/* rgb */ color: rgb(64, 166, 53);
/* oklch */ color: oklch(64.2% 0.178 141.7);
Tailwind
colors: {
  custom: {
    50: '#81c172',
    500: '#40a635',
    950: '#000000',
  },
}
SCSS
$custom: #40a635;
$custom-light: #81c172;
$custom-dark: #000000;
JSON
{
  "hex": "#40a635",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 53
  },
  "hsl": {
    "h": 114.159,
    "s": 51.598,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64201,
    "c": 0.17785,
    "h": 141.7
  },
  "luminance": 0.28619
}

Semantic roles & 50–950 ramp

primary
#40A635
secondary
#B877BF
accent
#4DDBCD
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A635

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

Preview Lab → · Contrast checker → · Palette generator →

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