#40A33D#40A33D

#40A33D is a light, vivid green. Relative luminance 0.276; OKLCH L 63.5% C 0.168 H 142.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#40A33D
RGBrgb(64, 163, 61)
HSLhsl(118, 46%, 44%)
HSVhsv(118, 63%, 64%)
CMYKcmyk(60.7%, 0%, 62.6%, 36.1%)
CIE-LABlab(59.54, -49.24, 43.45)
CIE-LCHlch(59.54, 65.67, 138.57°)
OKLaboklab(63.48% -0.1339 0.1016)
OKLCHoklch(63.48% 0.168 142.8)
XYZxyz(16.0530, 27.6198, 8.8992)
Luminance0.2762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A33D #A03DA3
analogous
#73A33D #40A33D #3DA36D
triadic
#40A33D #3D40A3 #A33D40
tetradic
#40A33D #3D73A3 #A03DA3 #A36D3D
square
#40A33D #3D73A3 #A03DA3 #A36D3D
split-complementary
#40A33D #6D3DA3 #A33D73
monochromatic
#1D4A1C #2F762C #40A33D #5EC25B #8AD288

Accessibility & contrast

On white

3.22
#40A33D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#40A33D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A33D
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A33D#FFFFFF#000000##000000
##40A33D1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69531
Deuteranopia (green-blind)
#9A8C45
Tritanopia (blue-blind)
#2F9E8D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a33d;
/* rgb */ color: rgb(64, 163, 61);
/* oklch */ color: oklch(63.5% 0.168 142.8);
Tailwind
colors: {
  custom: {
    50: '#80bf76',
    500: '#40a33d',
    950: '#000000',
  },
}
SCSS
$custom: #40a33d;
$custom-light: #80bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#40a33d",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 61
  },
  "hsl": {
    "h": 118.235,
    "s": 45.536,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63481,
    "c": 0.16806,
    "h": 142.8
  },
  "luminance": 0.27621
}

Semantic roles & 50–950 ramp

primary
#40A33D
secondary
#BB7FBD
accent
#53D5D1
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #40A33D

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

Preview Lab → · Contrast checker → · Palette generator →

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