#40B13D#40B13D

#40B13D is a light, vivid green. Relative luminance 0.329; OKLCH L 67.2% C 0.186 H 142.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#40B13D
RGBrgb(64, 177, 61)
HSLhsl(118, 49%, 47%)
HSVhsv(118, 66%, 69%)
CMYKcmyk(63.8%, 0%, 65.5%, 30.6%)
CIE-LABlab(64.05, -54.37, 48.48)
CIE-LCHlch(64.05, 72.84, 138.28°)
OKLaboklab(67.21% -0.1478 0.1122)
OKLCHoklch(67.21% 0.186 142.8)
XYZxyz(18.6777, 32.8693, 9.7741)
Luminance0.3287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B13D #AE3DB1
analogous
#7AB13D #40B13D #3DB174
triadic
#40B13D #3D40B1 #B13D40
tetradic
#40B13D #3D7AB1 #AE3DB1 #B1743D
square
#40B13D #3D7AB1 #AE3DB1 #B1743D
split-complementary
#40B13D #743DB1 #B13D7A
monochromatic
#1F561E #30832D #40B13D #65C962 #92D990

Accessibility & contrast

On white

2.77
#40B13D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#40B13D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B13D
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B13D#FFFFFF#000000##000000
##40B13D1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12E
Deuteranopia (green-blind)
#A79847
Tritanopia (blue-blind)
#29AC99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b13d;
/* rgb */ color: rgb(64, 177, 61);
/* oklch */ color: oklch(67.2% 0.186 142.8);
Tailwind
colors: {
  custom: {
    50: '#82c978',
    500: '#40b13d',
    950: '#000000',
  },
}
SCSS
$custom: #40b13d;
$custom-light: #82c978;
$custom-dark: #000000;
JSON
{
  "hex": "#40b13d",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 61
  },
  "hsl": {
    "h": 118.448,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.67208,
    "c": 0.18561,
    "h": 142.8
  },
  "luminance": 0.32871
}

Semantic roles & 50–950 ramp

primary
#40B13D
secondary
#C286C4
accent
#50D8D5
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B13D

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

Preview Lab → · Contrast checker → · Palette generator →

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