#40A031#40A031

#40A031 is a light, vivid green. Relative luminance 0.265; OKLCH L 62.6% C 0.173 H 141.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#40A031
RGBrgb(64, 160, 49)
HSLhsl(112, 53%, 41%)
HSVhsv(112, 69%, 63%)
CMYKcmyk(60%, 0%, 69.4%, 37.3%)
CIE-LABlab(58.46, -49.34, 47.48)
CIE-LCHlch(58.46, 68.47, 136.10°)
OKLaboklab(62.56% -0.1348 0.1087)
OKLCHoklch(62.56% 0.173 141.1)
XYZxyz(15.2388, 26.4520, 7.2078)
Luminance0.2645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A031 #9131A0
analogous
#77A031 #40A031 #31A059
triadic
#40A031 #3140A0 #A03140
tetradic
#40A031 #3177A0 #9131A0 #A05931
square
#40A031 #3177A0 #9131A0 #A05931
split-complementary
#40A031 #5931A0 #A03177
monochromatic
#1B4214 #2D7123 #40A031 #59C747 #83D576

Accessibility & contrast

On white

3.34
#40A031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#40A031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A031
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A031#FFFFFF#000000##000000
##40A0311.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49221
Deuteranopia (green-blind)
#988A3B
Tritanopia (blue-blind)
#329B8A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a031;
/* rgb */ color: rgb(64, 160, 49);
/* oklch */ color: oklch(62.6% 0.173 141.1);
Tailwind
colors: {
  custom: {
    50: '#80bd6f',
    500: '#40a031',
    950: '#000000',
  },
}
SCSS
$custom: #40a031;
$custom-light: #80bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#40a031",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 111.892,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.62555,
    "c": 0.17322,
    "h": 141.1
  },
  "luminance": 0.26453
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A031

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

Preview Lab → · Contrast checker → · Palette generator →

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