#40B431#40B431

#40B431 is a light, vivid green. Relative luminance 0.340; OKLCH L 67.9% C 0.197 H 141.5°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#40B431
RGBrgb(64, 180, 49)
HSLhsl(113, 57%, 45%)
HSVhsv(113, 73%, 71%)
CMYKcmyk(64.4%, 0%, 72.8%, 29.4%)
CIE-LABlab(64.92, -56.52, 54.19)
CIE-LCHlch(64.92, 78.30, 136.20°)
OKLaboklab(67.9% -0.1543 0.1228)
OKLCHoklch(67.9% 0.197 141.5)
XYZxyz(18.9890, 33.9524, 8.4579)
Luminance0.3395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B431 #A531B4
analogous
#81B431 #40B431 #31B464
triadic
#40B431 #3140B4 #B43140
tetradic
#40B431 #3181B4 #A531B4 #B46431
square
#40B431 #3181B4 #A531B4 #B46431
split-complementary
#40B431 #6431B4 #B43181
monochromatic
#1E5417 #2F8424 #40B431 #61D052 #8DDD82

Accessibility & contrast

On white

2.70
#40B431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#40B431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B431
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B431#FFFFFF#000000##000000
##40B4311.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31A
Deuteranopia (green-blind)
#AB9A3E
Tritanopia (blue-blind)
#2BAE9A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b431;
/* rgb */ color: rgb(64, 180, 49);
/* oklch */ color: oklch(67.9% 0.197 141.5);
Tailwind
colors: {
  custom: {
    50: '#84cb71',
    500: '#40b431',
    950: '#000000',
  },
}
SCSS
$custom: #40b431;
$custom-light: #84cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#40b431",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 113.13,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67898,
    "c": 0.19717,
    "h": 141.5
  },
  "luminance": 0.33954
}

Semantic roles & 50–950 ramp

primary
#40B431
secondary
#BE7BC6
accent
#47E0CF
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B431

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

Preview Lab → · Contrast checker → · Palette generator →

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