#40B631#40B631

#40B631 is a light, vivid green. Relative luminance 0.348; OKLCH L 68.4% C 0.199 H 141.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#40B631
RGBrgb(64, 182, 49)
HSLhsl(113, 58%, 45%)
HSVhsv(113, 73%, 71%)
CMYKcmyk(64.8%, 0%, 73.1%, 28.6%)
CIE-LABlab(65.57, -57.21, 54.84)
CIE-LCHlch(65.57, 79.25, 136.21°)
OKLaboklab(68.43% -0.1561 0.1241)
OKLCHoklch(68.43% 0.199 141.5)
XYZxyz(19.3957, 34.7657, 8.5934)
Luminance0.3477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B631 #A731B6
analogous
#82B631 #40B631 #31B664
triadic
#40B631 #3140B6 #B63140
tetradic
#40B631 #3182B6 #A731B6 #B66431
square
#40B631 #3182B6 #A731B6 #B66431
split-complementary
#40B631 #6431B6 #B63182
monochromatic
#1E5617 #2F8624 #40B631 #62D153 #8EDE84

Accessibility & contrast

On white

2.64
#40B631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#40B631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B631
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B631#FFFFFF#000000##000000
##40B6311.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA519
Deuteranopia (green-blind)
#AC9C3F
Tritanopia (blue-blind)
#2AB09C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b631;
/* rgb */ color: rgb(64, 182, 49);
/* oklch */ color: oklch(68.4% 0.199 141.5);
Tailwind
colors: {
  custom: {
    50: '#84cd71',
    500: '#40b631',
    950: '#000000',
  },
}
SCSS
$custom: #40b631;
$custom-light: #84cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#40b631",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 49
  },
  "hsl": {
    "h": 113.233,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68429,
    "c": 0.19948,
    "h": 141.5
  },
  "luminance": 0.34768
}

Semantic roles & 50–950 ramp

primary
#40B631
secondary
#BF7CC7
accent
#47E1CF
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40B631

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

Preview Lab → · Contrast checker → · Palette generator →

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