#40B442#40B442

#40B442 is a light, vivid green. Relative luminance 0.341; OKLCH L 68.1% C 0.186 H 143.4°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#40B442
RGBrgb(64, 180, 66)
HSLhsl(121, 48%, 48%)
HSVhsv(121, 64%, 71%)
CMYKcmyk(64.4%, 0%, 63.3%, 29.4%)
CIE-LABlab(65.06, -54.92, 47.42)
CIE-LCHlch(65.06, 72.56, 139.19°)
OKLaboklab(68.05% -0.1491 0.1105)
OKLCHoklch(68.05% 0.186 143.4)
XYZxyz(19.4178, 34.1239, 10.7165)
Luminance0.3413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B442 #B440B2
analogous
#78B440 #40B442 #40B47C
triadic
#40B442 #4240B4 #B44240
tetradic
#40B442 #4078B4 #B440B2 #B47C40
square
#40B442 #4078B4 #B440B2 #B47C40
split-complementary
#40B442 #7C40B4 #B44078
monochromatic
#205A21 #308731 #40B442 #68C96A #95D996

Accessibility & contrast

On white

2.68
#40B442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#40B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B442
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B442#FFFFFF#000000##000000
##40B4421.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A435
Deuteranopia (green-blind)
#A99A4C
Tritanopia (blue-blind)
#26AF9C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b442;
/* rgb */ color: rgb(64, 180, 66);
/* oklch */ color: oklch(68.1% 0.186 143.4);
Tailwind
colors: {
  custom: {
    50: '#83cb7b',
    500: '#40b442',
    950: '#000000',
  },
}
SCSS
$custom: #40b442;
$custom-light: #83cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b442",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 121.034,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68054,
    "c": 0.18556,
    "h": 143.4
  },
  "luminance": 0.34126
}

Semantic roles & 50–950 ramp

primary
#40B442
secondary
#C58BC4
accent
#51D5D7
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40B442

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

Preview Lab → · Contrast checker → · Palette generator →

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