#40A236#40A236

#40A236 is a light, vivid green. Relative luminance 0.272; OKLCH L 63.1% C 0.172 H 141.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#40A236
RGBrgb(64, 162, 54)
HSLhsl(114, 50%, 42%)
HSVhsv(114, 67%, 64%)
CMYKcmyk(60.5%, 0%, 66.7%, 36.5%)
CIE-LABlab(59.15, -49.60, 46.12)
CIE-LCHlch(59.15, 67.73, 137.08°)
OKLaboklab(63.14% -0.1353 0.1065)
OKLCHoklch(63.14% 0.172 141.8)
XYZxyz(15.6997, 27.1955, 7.9112)
Luminance0.2720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A236 #9836A2
analogous
#76A236 #40A236 #36A262
triadic
#40A236 #3640A2 #A23640
tetradic
#40A236 #3676A2 #9836A2 #A26236
square
#40A236 #3676A2 #9836A2 #A26236
split-complementary
#40A236 #6236A2 #A23676
monochromatic
#1C4617 #2E7427 #40A236 #5BC550 #86D47E

Accessibility & contrast

On white

3.26
#40A236 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#40A236 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A236
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A236#FFFFFF#000000##000000
##40A2361.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69328
Deuteranopia (green-blind)
#9A8B40
Tritanopia (blue-blind)
#309D8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a236;
/* rgb */ color: rgb(64, 162, 54);
/* oklch */ color: oklch(63.1% 0.172 141.8);
Tailwind
colors: {
  custom: {
    50: '#80be72',
    500: '#40a236',
    950: '#000000',
  },
}
SCSS
$custom: #40a236;
$custom-light: #80be72;
$custom-dark: #000000;
JSON
{
  "hex": "#40a236",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 114.444,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63139,
    "c": 0.17216,
    "h": 141.8
  },
  "luminance": 0.27197
}

Semantic roles & 50–950 ramp

primary
#40A236
secondary
#B777BD
accent
#4EDACD
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A236

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

Preview Lab → · Contrast checker → · Palette generator →

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