#40A232#40A232

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

Color values

HEX#40A232
RGBrgb(64, 162, 50)
HSLhsl(113, 53%, 42%)
HSVhsv(113, 69%, 64%)
CMYKcmyk(60.5%, 0%, 69.1%, 36.5%)
CIE-LABlab(59.12, -49.99, 47.77)
CIE-LCHlch(59.12, 69.14, 136.30°)
OKLaboklab(63.1% -0.1365 0.1095)
OKLCHoklch(63.1% 0.175 141.3)
XYZxyz(15.6096, 27.1595, 7.4367)
Luminance0.2716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A232 #9432A2
analogous
#78A232 #40A232 #32A25C
triadic
#40A232 #3240A2 #A23240
tetradic
#40A232 #3278A2 #9432A2 #A25C32
square
#40A232 #3278A2 #9432A2 #A25C32
split-complementary
#40A232 #5C32A2 #A23278
monochromatic
#1B4415 #2E7324 #40A232 #5AC74A #84D679

Accessibility & contrast

On white

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

On black

6.43
#40A232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A232
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A232#FFFFFF#000000##000000
##40A2321.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69322
Deuteranopia (green-blind)
#9A8B3C
Tritanopia (blue-blind)
#319D8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a232;
/* rgb */ color: rgb(64, 162, 50);
/* oklch */ color: oklch(63.1% 0.175 141.3);
Tailwind
colors: {
  custom: {
    50: '#80be70',
    500: '#40a232',
    950: '#000000',
  },
}
SCSS
$custom: #40a232;
$custom-light: #80be70;
$custom-dark: #000000;
JSON
{
  "hex": "#40a232",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 50
  },
  "hsl": {
    "h": 112.5,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63101,
    "c": 0.17501,
    "h": 141.3
  },
  "luminance": 0.27161
}

Semantic roles & 50–950 ramp

primary
#40A232
secondary
#B472BE
accent
#4CDCCA
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A232

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

Preview Lab → · Contrast checker → · Palette generator →

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