#40B62C#40B62C

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

Color values

HEX#40B62C
RGBrgb(64, 182, 44)
HSLhsl(111, 61%, 44%)
HSVhsv(111, 76%, 71%)
CMYKcmyk(64.8%, 0%, 75.8%, 28.6%)
CIE-LABlab(65.53, -57.58, 56.57)
CIE-LCHlch(65.53, 80.72, 135.51°)
OKLaboklab(68.39% -0.1574 0.1271)
OKLCHoklch(68.39% 0.202 141.1)
XYZxyz(19.2959, 34.7258, 8.0683)
Luminance0.3473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B62C #A22CB6
analogous
#85B62C #40B62C #2CB65D
triadic
#40B62C #2C40B6 #B62C40
tetradic
#40B62C #2C85B6 #A22CB6 #B65D2C
square
#40B62C #2C85B6 #A22CB6 #B65D2C
split-complementary
#40B62C #5D2CB6 #B62C85
monochromatic
#1D5314 #2F8520 #40B62C #5FD44C #8BE07D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B62C#FFFFFF#000000##000000
##40B62C1.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)
#BBA50C
Deuteranopia (green-blind)
#AD9C3B
Tritanopia (blue-blind)
#2BB09C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b62c;
/* rgb */ color: rgb(64, 182, 44);
/* oklch */ color: oklch(68.4% 0.202 141.1);
Tailwind
colors: {
  custom: {
    50: '#84cd6f',
    500: '#40b62c',
    950: '#000000',
  },
}
SCSS
$custom: #40b62c;
$custom-light: #84cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b62c",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 44
  },
  "hsl": {
    "h": 111.304,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68393,
    "c": 0.2023,
    "h": 141.1
  },
  "luminance": 0.34728
}

Semantic roles & 50–950 ramp

primary
#40B62C
secondary
#BC76C8
accent
#44E4CD
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40B62C

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

Preview Lab → · Contrast checker → · Palette generator →

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