#40B439#40B439

#40B439 is a light, vivid green. Relative luminance 0.340; OKLCH L 68.0% C 0.192 H 142.3°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#40B439
RGBrgb(64, 180, 57)
HSLhsl(117, 52%, 46%)
HSVhsv(117, 68%, 71%)
CMYKcmyk(64.4%, 0%, 68.3%, 29.4%)
CIE-LABlab(64.98, -55.83, 51.15)
CIE-LCHlch(64.98, 75.71, 137.50°)
OKLaboklab(67.97% -0.152 0.1174)
OKLCHoklch(67.97% 0.192 142.3)
XYZxyz(19.1731, 34.0260, 9.4274)
Luminance0.3403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B439 #AD39B4
analogous
#7EB439 #40B439 #39B470
triadic
#40B439 #3940B4 #B43940
tetradic
#40B439 #397EB4 #AD39B4 #B47039
square
#40B439 #397EB4 #AD39B4 #B47039
split-complementary
#40B439 #7039B4 #B4397E
monochromatic
#1F571C #2F862A #40B439 #64CC5E #91DB8D

Accessibility & contrast

On white

2.69
#40B439 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#40B439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B439
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B439#FFFFFF#000000##000000
##40B4391.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A428
Deuteranopia (green-blind)
#AA9A44
Tritanopia (blue-blind)
#29AF9B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b439;
/* rgb */ color: rgb(64, 180, 57);
/* oklch */ color: oklch(68.0% 0.192 142.3);
Tailwind
colors: {
  custom: {
    50: '#83cb76',
    500: '#40b439',
    950: '#000000',
  },
}
SCSS
$custom: #40b439;
$custom-light: #83cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#40b439",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 57
  },
  "hsl": {
    "h": 116.585,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.67965,
    "c": 0.19205,
    "h": 142.3
  },
  "luminance": 0.34028
}

Semantic roles & 50–950 ramp

primary
#40B439
secondary
#C283C5
accent
#4CDBD3
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B439

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

Preview Lab → · Contrast checker → · Palette generator →

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