#40B831#40B831

#40B831 is a light, highly saturated green. Relative luminance 0.356; OKLCH L 69.0% C 0.202 H 141.5°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#40B831
RGBrgb(64, 184, 49)
HSLhsl(113, 58%, 46%)
HSVhsv(113, 73%, 72%)
CMYKcmyk(65.2%, 0%, 73.4%, 27.8%)
CIE-LABlab(66.21, -57.89, 55.49)
CIE-LCHlch(66.21, 80.19, 136.21°)
OKLaboklab(68.96% -0.158 0.1255)
OKLCHoklch(68.96% 0.202 141.5)
XYZxyz(19.8082, 35.5907, 8.7309)
Luminance0.3559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B831 #A931B8
analogous
#83B831 #40B831 #31B865
triadic
#40B831 #3140B8 #B83140
tetradic
#40B831 #3183B8 #A931B8 #B86531
square
#40B831 #3183B8 #A931B8 #B86531
split-complementary
#40B831 #6531B8 #B83183
monochromatic
#1E5717 #2F8824 #40B831 #62D255 #8FDE85

Accessibility & contrast

On white

2.59
#40B831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#40B831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B831
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B831#FFFFFF#000000##000000
##40B8311.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA718
Deuteranopia (green-blind)
#AE9D3F
Tritanopia (blue-blind)
#29B29E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b831;
/* rgb */ color: rgb(64, 184, 49);
/* oklch */ color: oklch(69.0% 0.202 141.5);
Tailwind
colors: {
  custom: {
    50: '#84ce72',
    500: '#40b831',
    950: '#000000',
  },
}
SCSS
$custom: #40b831;
$custom-light: #84ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#40b831",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 113.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68959,
    "c": 0.20178,
    "h": 141.5
  },
  "luminance": 0.35593
}

Semantic roles & 50–950 ramp

primary
#40B831
secondary
#C07DC8
accent
#47E1D0
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40B831

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

Preview Lab → · Contrast checker → · Palette generator →

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