#40AA38#40AA38

#40AA38 is a light, vivid green. Relative luminance 0.301; OKLCH L 65.3% C 0.181 H 142.1°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#40AA38
RGBrgb(64, 170, 56)
HSLhsl(116, 50%, 44%)
HSVhsv(116, 67%, 67%)
CMYKcmyk(62.4%, 0%, 67.1%, 33.3%)
CIE-LABlab(61.76, -52.35, 48.10)
CIE-LCHlch(61.76, 71.09, 137.42°)
OKLaboklab(65.3% -0.1426 0.1109)
OKLCHoklch(65.3% 0.181 142.1)
XYZxyz(17.2020, 30.1233, 8.6485)
Luminance0.3013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA38 #A238AA
analogous
#79AA38 #40AA38 #38AA69
triadic
#40AA38 #3840AA #AA3840
tetradic
#40AA38 #3879AA #A238AA #AA6938
square
#40AA38 #3879AA #A238AA #AA6938
split-complementary
#40AA38 #6938AA #AA3879
monochromatic
#1D4E1A #2F7C29 #40AA38 #5FC857 #8BD785

Accessibility & contrast

On white

2.99
#40AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#40AA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA38
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA38#FFFFFF#000000##000000
##40AA381.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B29
Deuteranopia (green-blind)
#A19242
Tritanopia (blue-blind)
#2DA593
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40aa38;
/* rgb */ color: rgb(64, 170, 56);
/* oklch */ color: oklch(65.3% 0.181 142.1);
Tailwind
colors: {
  custom: {
    50: '#81c474',
    500: '#40aa38',
    950: '#000000',
  },
}
SCSS
$custom: #40aa38;
$custom-light: #81c474;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa38",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 115.789,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.65297,
    "c": 0.18064,
    "h": 142.1
  },
  "luminance": 0.30125
}

Semantic roles & 50–950 ramp

primary
#40AA38
secondary
#BC7DC1
accent
#4EDAD0
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #40AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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