#40A112#40A112

#40A112 is a light, vivid green. Relative luminance 0.266; OKLCH L 62.6% C 0.190 H 138.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#40A112
RGBrgb(64, 161, 18)
HSLhsl(101, 80%, 35%)
HSVhsv(101, 89%, 63%)
CMYKcmyk(60.2%, 0%, 88.8%, 36.9%)
CIE-LABlab(58.62, -51.64, 57.41)
CIE-LCHlch(58.62, 77.22, 131.97°)
OKLaboklab(62.63% -0.1427 0.1253)
OKLCHoklch(62.63% 0.19 138.7)
XYZxyz(14.9678, 26.6221, 4.9220)
Luminance0.2662 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A112 #7312A1
analogous
#88A112 #40A112 #12A12B
triadic
#40A112 #1240A1 #A11240
tetradic
#40A112 #1288A1 #7312A1 #A12B12
square
#40A112 #1288A1 #7312A1 #A12B12
split-complementary
#40A112 #2B12A1 #A11288
monochromatic
#143306 #2A6A0C #40A112 #56D818 #79EA43

Accessibility & contrast

On white

3.32
#40A112 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#40A112 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A112
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A112#FFFFFF#000000##000000
##40A1121.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#359B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a112;
/* rgb */ color: rgb(64, 161, 18);
/* oklch */ color: oklch(62.6% 0.190 138.7);
Tailwind
colors: {
  custom: {
    50: '#81be62',
    500: '#40a112',
    950: '#000000',
  },
}
SCSS
$custom: #40a112;
$custom-light: #81be62;
$custom-dark: #000000;
JSON
{
  "hex": "#40a112",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 18
  },
  "hsl": {
    "h": 100.699,
    "s": 79.888,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62634,
    "c": 0.18986,
    "h": 138.7
  },
  "luminance": 0.26623
}

Semantic roles & 50–950 ramp

primary
#40A112
secondary
#9F45CA
accent
#31F6B7
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #40A112

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

Preview Lab → · Contrast checker → · Palette generator →

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