#40A121#40A121

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

Color values

HEX#40A121
RGBrgb(64, 161, 33)
HSLhsl(105, 66%, 38%)
HSVhsv(105, 80%, 63%)
CMYKcmyk(60.2%, 0%, 79.5%, 36.9%)
CIE-LABlab(58.68, -50.92, 53.55)
CIE-LCHlch(58.68, 73.89, 133.56°)
OKLaboklab(62.7% -0.14 0.1192)
OKLCHoklch(62.7% 0.184 139.6)
XYZxyz(15.1331, 26.6882, 5.7924)
Luminance0.2669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A121 #8221A1
analogous
#80A121 #40A121 #21A142
triadic
#40A121 #2140A1 #A12140
tetradic
#40A121 #2180A1 #8221A1 #A14221
square
#40A121 #2180A1 #8221A1 #A14221
split-complementary
#40A121 #4221A1 #A12180
monochromatic
#183B0C #2C6E17 #40A121 #54D42C #7DDE5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A121#FFFFFF#000000##000000
##40A1211.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)
#9A8A30
Tritanopia (blue-blind)
#349B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a121;
/* rgb */ color: rgb(64, 161, 33);
/* oklch */ color: oklch(62.7% 0.184 139.6);
Tailwind
colors: {
  custom: {
    50: '#81be67',
    500: '#40a121',
    950: '#000000',
  },
}
SCSS
$custom: #40a121;
$custom-light: #81be67;
$custom-dark: #000000;
JSON
{
  "hex": "#40a121",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 105.469,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62704,
    "c": 0.18391,
    "h": 139.6
  },
  "luminance": 0.2669
}

Semantic roles & 50–950 ramp

primary
#40A121
secondary
#AA5BC3
accent
#3FE9C0
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A121

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

Preview Lab → · Contrast checker → · Palette generator →

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