#40B62D#40B62D

#40B62D is a light, highly saturated green. Relative luminance 0.347; OKLCH L 68.4% C 0.202 H 141.2°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#40B62D
RGBrgb(64, 182, 45)
HSLhsl(112, 60%, 45%)
HSVhsv(112, 75%, 71%)
CMYKcmyk(64.8%, 0%, 75.3%, 28.6%)
CIE-LABlab(65.54, -57.51, 56.24)
CIE-LCHlch(65.54, 80.43, 135.64°)
OKLaboklab(68.4% -0.1572 0.1265)
OKLCHoklch(68.4% 0.202 141.2)
XYZxyz(19.3150, 34.7334, 8.1684)
Luminance0.3473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B62D #A32DB6
analogous
#85B62D #40B62D #2DB65F
triadic
#40B62D #2D40B6 #B62D40
tetradic
#40B62D #2D85B6 #A32DB6 #B65F2D
square
#40B62D #2D85B6 #A32DB6 #B65F2D
split-complementary
#40B62D #5F2DB6 #B62D85
monochromatic
#1D5415 #2F8521 #40B62D #60D34D #8CDF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B62D#FFFFFF#000000##000000
##40B62D1.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)
#BBA50F
Deuteranopia (green-blind)
#AD9C3C
Tritanopia (blue-blind)
#2BB09C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b62d;
/* rgb */ color: rgb(64, 182, 45);
/* oklch */ color: oklch(68.4% 0.202 141.2);
Tailwind
colors: {
  custom: {
    50: '#84cd6f',
    500: '#40b62d',
    950: '#000000',
  },
}
SCSS
$custom: #40b62d;
$custom-light: #84cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b62d",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 45
  },
  "hsl": {
    "h": 111.679,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.684,
    "c": 0.20176,
    "h": 141.2
  },
  "luminance": 0.34735
}

Semantic roles & 50–950 ramp

primary
#40B62D
secondary
#BD77C8
accent
#44E3CD
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40B62D

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

Preview Lab → · Contrast checker → · Palette generator →

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