#40B22D#40B22D

#40B22D is a light, vivid green. Relative luminance 0.331; OKLCH L 67.3% C 0.197 H 141.1°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#40B22D
RGBrgb(64, 178, 45)
HSLhsl(111, 60%, 44%)
HSVhsv(111, 75%, 70%)
CMYKcmyk(64%, 0%, 74.7%, 30.2%)
CIE-LABlab(64.26, -56.13, 54.96)
CIE-LCHlch(64.26, 78.56, 135.60°)
OKLaboklab(67.34% -0.1534 0.1239)
OKLCHoklch(67.34% 0.197 141.1)
XYZxyz(18.5075, 33.1184, 7.8993)
Luminance0.3312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B22D #9F2DB2
analogous
#82B22D #40B22D #2DB25C
triadic
#40B22D #2D40B2 #B22D40
tetradic
#40B22D #2D82B2 #9F2DB2 #B25C2D
square
#40B22D #2D82B2 #9F2DB2 #B25C2D
split-complementary
#40B22D #5C2DB2 #B22D82
monochromatic
#1D5014 #2E8121 #40B22D #5ED14B #8ADE7C

Accessibility & contrast

On white

2.75
#40B22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#40B22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B22D
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B22D#FFFFFF#000000##000000
##40B22D1.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A112
Deuteranopia (green-blind)
#A9983B
Tritanopia (blue-blind)
#2CAC98
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b22d;
/* rgb */ color: rgb(64, 178, 45);
/* oklch */ color: oklch(67.3% 0.197 141.1);
Tailwind
colors: {
  custom: {
    50: '#83ca6f',
    500: '#40b22d',
    950: '#000000',
  },
}
SCSS
$custom: #40b22d;
$custom-light: #83ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b22d",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 111.429,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67336,
    "c": 0.19719,
    "h": 141.1
  },
  "luminance": 0.3312
}

Semantic roles & 50–950 ramp

primary
#40B22D
secondary
#BB75C6
accent
#45E3CC
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B22D

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

Preview Lab → · Contrast checker → · Palette generator →

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