#40AA3D#40AA3D

#40AA3D is a light, vivid green. Relative luminance 0.302; OKLCH L 65.3% C 0.177 H 142.8°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#40AA3D
RGBrgb(64, 170, 61)
HSLhsl(118, 47%, 45%)
HSVhsv(118, 64%, 67%)
CMYKcmyk(62.4%, 0%, 64.1%, 33.3%)
CIE-LABlab(61.80, -51.84, 45.99)
CIE-LCHlch(61.80, 69.30, 138.42°)
OKLaboklab(65.35% -0.141 0.107)
OKLCHoklch(65.35% 0.177 142.8)
XYZxyz(17.3304, 30.1747, 9.3250)
Luminance0.3018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA3D #A73DAA
analogous
#76AA3D #40AA3D #3DAA71
triadic
#40AA3D #3D40AA #AA3D40
tetradic
#40AA3D #3D76AA #A73DAA #AA713D
square
#40AA3D #3D76AA #A73DAA #AA713D
split-complementary
#40AA3D #713DAA #AA3D76
monochromatic
#1E501D #2F7D2D #40AA3D #62C55F #8ED68C

Accessibility & contrast

On white

2.98
#40AA3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#40AA3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA3D
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA3D#FFFFFF#000000##000000
##40AA3D1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B30
Deuteranopia (green-blind)
#A19246
Tritanopia (blue-blind)
#2CA593
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40aa3d;
/* rgb */ color: rgb(64, 170, 61);
/* oklch */ color: oklch(65.3% 0.177 142.8);
Tailwind
colors: {
  custom: {
    50: '#81c477',
    500: '#40aa3d',
    950: '#000000',
  },
}
SCSS
$custom: #40aa3d;
$custom-light: #81c477;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa3d",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 61
  },
  "hsl": {
    "h": 118.349,
    "s": 47.186,
    "l": 45.294
  },
  "oklch": {
    "l": 0.65348,
    "c": 0.17694,
    "h": 142.8
  },
  "luminance": 0.30176
}

Semantic roles & 50–950 ramp

primary
#40AA3D
secondary
#BF82C0
accent
#51D7D3
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #40AA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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