#40B545#40B545

#40B545 is a light, vivid green. Relative luminance 0.346; OKLCH L 68.4% C 0.184 H 143.9°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#40B545
RGBrgb(64, 181, 69)
HSLhsl(123, 48%, 48%)
HSVhsv(123, 65%, 71%)
CMYKcmyk(64.6%, 0%, 61.9%, 29%)
CIE-LABlab(65.41, -54.94, 46.48)
CIE-LCHlch(65.41, 71.97, 139.77°)
OKLaboklab(68.35% -0.149 0.1088)
OKLCHoklch(68.35% 0.184 143.9)
XYZxyz(19.7112, 34.5654, 11.2621)
Luminance0.3457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B545 #B540B0
analogous
#75B540 #40B545 #40B57F
triadic
#40B545 #4540B5 #B54540
tetradic
#40B545 #4075B5 #B540B0 #B57F40
square
#40B545 #4075B5 #B540B0 #B57F40
split-complementary
#40B545 #7F40B5 #B54075
monochromatic
#205B23 #308834 #40B545 #68CA6D #96DA99

Accessibility & contrast

On white

2.65
#40B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#40B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B545
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B545#FFFFFF#000000##000000
##40B5451.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A538
Deuteranopia (green-blind)
#AA9B4E
Tritanopia (blue-blind)
#25B09D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b545;
/* rgb */ color: rgb(64, 181, 69);
/* oklch */ color: oklch(68.4% 0.184 143.9);
Tailwind
colors: {
  custom: {
    50: '#83cc7d',
    500: '#40b545',
    950: '#000000',
  },
}
SCSS
$custom: #40b545;
$custom-light: #83cc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#40b545",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 122.564,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68351,
    "c": 0.18447,
    "h": 143.9
  },
  "luminance": 0.34567
}

Semantic roles & 50–950 ramp

primary
#40B545
secondary
#C58BC3
accent
#50D2D7
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40B545

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

Preview Lab → · Contrast checker → · Palette generator →

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