#40A832#40A832

#40A832 is a light, vivid green. Relative luminance 0.293; OKLCH L 64.7% C 0.182 H 141.4°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#40A832
RGBrgb(64, 168, 50)
HSLhsl(113, 54%, 43%)
HSVhsv(113, 70%, 66%)
CMYKcmyk(61.9%, 0%, 70.2%, 34.1%)
CIE-LABlab(61.07, -52.18, 49.82)
CIE-LCHlch(61.07, 72.15, 136.33°)
OKLaboklab(64.71% -0.1425 0.1138)
OKLCHoklch(64.71% 0.182 141.4)
XYZxyz(16.6919, 29.3240, 7.7974)
Luminance0.2933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A832 #9A32A8
analogous
#7BA832 #40A832 #32A85F
triadic
#40A832 #3240A8 #A83240
tetradic
#40A832 #327BA8 #9A32A8 #A85F32
square
#40A832 #327BA8 #9A32A8 #A85F32
split-complementary
#40A832 #5F32A8 #A8327B
monochromatic
#1C4A16 #2E7924 #40A832 #5CCA4D #87D87C

Accessibility & contrast

On white

3.06
#40A832 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#40A832 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A832
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A832#FFFFFF#000000##000000
##40A8321.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9920
Deuteranopia (green-blind)
#9F903D
Tritanopia (blue-blind)
#2FA390
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a832;
/* rgb */ color: rgb(64, 168, 50);
/* oklch */ color: oklch(64.7% 0.182 141.4);
Tailwind
colors: {
  custom: {
    50: '#81c370',
    500: '#40a832',
    950: '#000000',
  },
}
SCSS
$custom: #40a832;
$custom-light: #81c370;
$custom-dark: #000000;
JSON
{
  "hex": "#40a832",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 50
  },
  "hsl": {
    "h": 112.881,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.64708,
    "c": 0.18233,
    "h": 141.4
  },
  "luminance": 0.29326
}

Semantic roles & 50–950 ramp

primary
#40A832
secondary
#B875C1
accent
#4ADDCC
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #40A832

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

Preview Lab → · Contrast checker → · Palette generator →

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