#40B12E#40B12E

#40B12E is a light, vivid green. Relative luminance 0.327; OKLCH L 67.1% C 0.195 H 141.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#40B12E
RGBrgb(64, 177, 46)
HSLhsl(112, 59%, 44%)
HSVhsv(112, 74%, 69%)
CMYKcmyk(63.8%, 0%, 74%, 30.6%)
CIE-LABlab(63.94, -55.71, 54.29)
CIE-LCHlch(63.94, 77.78, 135.74°)
OKLaboklab(67.08% -0.1522 0.1226)
OKLCHoklch(67.08% 0.195 141.2)
XYZxyz(18.3287, 32.7297, 7.9358)
Luminance0.3273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B12E #9F2EB1
analogous
#81B12E #40B12E #2EB15D
triadic
#40B12E #2E40B1 #B12E40
tetradic
#40B12E #2E81B1 #9F2EB1 #B15D2E
square
#40B12E #2E81B1 #9F2EB1 #B15D2E
split-complementary
#40B12E #5D2EB1 #B12E81
monochromatic
#1D5015 #2E8021 #40B12E #5ED04C #8ADD7C

Accessibility & contrast

On white

2.78
#40B12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#40B12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B12E
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B12E#FFFFFF#000000##000000
##40B12E1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A115
Deuteranopia (green-blind)
#A8973C
Tritanopia (blue-blind)
#2DAB98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b12e;
/* rgb */ color: rgb(64, 177, 46);
/* oklch */ color: oklch(67.1% 0.195 141.2);
Tailwind
colors: {
  custom: {
    50: '#83c96f',
    500: '#40b12e',
    950: '#000000',
  },
}
SCSS
$custom: #40b12e;
$custom-light: #83c96f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b12e",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 111.756,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67078,
    "c": 0.19546,
    "h": 141.2
  },
  "luminance": 0.32732
}

Semantic roles & 50–950 ramp

primary
#40B12E
secondary
#BB75C6
accent
#46E2CC
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B12E

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

Preview Lab → · Contrast checker → · Palette generator →

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