#40B245#40B245

#40B245 is a light, vivid green. Relative luminance 0.334; OKLCH L 67.6% C 0.181 H 143.9°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#40B245
RGBrgb(64, 178, 69)
HSLhsl(123, 47%, 47%)
HSVhsv(123, 64%, 70%)
CMYKcmyk(64%, 0%, 61.2%, 30.2%)
CIE-LABlab(64.45, -53.86, 45.39)
CIE-LCHlch(64.45, 70.44, 139.88°)
OKLaboklab(67.56% -0.1461 0.1065)
OKLCHoklch(67.56% 0.181 143.9)
XYZxyz(19.1078, 33.3585, 11.0609)
Luminance0.3336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B245 #B240AD
analogous
#74B240 #40B245 #40B27E
triadic
#40B245 #4540B2 #B24540
tetradic
#40B245 #4074B2 #B240AD #B27E40
square
#40B245 #4074B2 #B240AD #B27E40
split-complementary
#40B245 #7E40B2 #B24074
monochromatic
#205822 #308534 #40B245 #67C86B #94D897

Accessibility & contrast

On white

2.74
#40B245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#40B245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B245
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B245#FFFFFF#000000##000000
##40B2451.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A239
Deuteranopia (green-blind)
#A7994E
Tritanopia (blue-blind)
#26AD9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b245;
/* rgb */ color: rgb(64, 178, 69);
/* oklch */ color: oklch(67.6% 0.181 143.9);
Tailwind
colors: {
  custom: {
    50: '#82ca7c',
    500: '#40b245',
    950: '#000000',
  },
}
SCSS
$custom: #40b245;
$custom-light: #82ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#40b245",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 122.632,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67559,
    "c": 0.18073,
    "h": 143.9
  },
  "luminance": 0.3336
}

Semantic roles & 50–950 ramp

primary
#40B245
secondary
#C48AC1
accent
#51D1D7
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40B245

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

Preview Lab → · Contrast checker → · Palette generator →

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