#40A131#40A131

#40A131 is a light, vivid green. Relative luminance 0.268; OKLCH L 62.8% C 0.174 H 141.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#40A131
RGBrgb(64, 161, 49)
HSLhsl(112, 53%, 41%)
HSVhsv(112, 70%, 63%)
CMYKcmyk(60.2%, 0%, 69.6%, 36.9%)
CIE-LABlab(58.79, -49.71, 47.82)
CIE-LCHlch(58.79, 68.98, 136.11°)
OKLaboklab(62.82% -0.1359 0.1095)
OKLCHoklch(62.82% 0.174 141.1)
XYZxyz(15.4128, 26.8001, 7.2658)
Luminance0.2680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A131 #9231A1
analogous
#78A131 #40A131 #31A15A
triadic
#40A131 #3140A1 #A13140
tetradic
#40A131 #3178A1 #9231A1 #A15A31
square
#40A131 #3178A1 #9231A1 #A15A31
split-complementary
#40A131 #5A31A1 #A13178
monochromatic
#1B4314 #2D7223 #40A131 #59C748 #84D677

Accessibility & contrast

On white

3.30
#40A131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#40A131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A131
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A131#FFFFFF#000000##000000
##40A1311.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59221
Deuteranopia (green-blind)
#998A3B
Tritanopia (blue-blind)
#329C8A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a131;
/* rgb */ color: rgb(64, 161, 49);
/* oklch */ color: oklch(62.8% 0.174 141.1);
Tailwind
colors: {
  custom: {
    50: '#80be6f',
    500: '#40a131',
    950: '#000000',
  },
}
SCSS
$custom: #40a131;
$custom-light: #80be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#40a131",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 111.964,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62824,
    "c": 0.17446,
    "h": 141.1
  },
  "luminance": 0.26801
}

Semantic roles & 50–950 ramp

primary
#40A131
secondary
#B370BE
accent
#4BDDC9
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A131

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

Preview Lab → · Contrast checker → · Palette generator →

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