#40A120#40A120

#40A120 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.184 H 139.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#40A120
RGBrgb(64, 161, 32)
HSLhsl(105, 67%, 38%)
HSVhsv(105, 80%, 63%)
CMYKcmyk(60.2%, 0%, 80.1%, 36.9%)
CIE-LABlab(58.68, -50.98, 53.85)
CIE-LCHlch(58.68, 74.16, 133.43°)
OKLaboklab(62.7% -0.1403 0.1197)
OKLCHoklch(62.7% 0.184 139.5)
XYZxyz(15.1193, 26.6826, 5.7197)
Luminance0.2668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A120 #8120A1
analogous
#80A120 #40A120 #20A140
triadic
#40A120 #2040A1 #A12040
tetradic
#40A120 #2080A1 #8120A1 #A14020
square
#40A120 #2080A1 #8120A1 #A14020
split-complementary
#40A120 #4020A1 #A12080
monochromatic
#173B0C #2C6E16 #40A120 #54D42A #7DDF5D

Accessibility & contrast

On white

3.31
#40A120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#40A120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A120
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A120#FFFFFF#000000##000000
##40A1201.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40a120;
/* rgb */ color: rgb(64, 161, 32);
/* oklch */ color: oklch(62.7% 0.184 139.5);
Tailwind
colors: {
  custom: {
    50: '#81be67',
    500: '#40a120',
    950: '#000000',
  },
}
SCSS
$custom: #40a120;
$custom-light: #81be67;
$custom-dark: #000000;
JSON
{
  "hex": "#40a120",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 32
  },
  "hsl": {
    "h": 105.116,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62699,
    "c": 0.1844,
    "h": 139.5
  },
  "luminance": 0.26684
}

Semantic roles & 50–950 ramp

primary
#40A120
secondary
#A95AC3
accent
#3EEABF
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #40A120

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

Preview Lab → · Contrast checker → · Palette generator →

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