#40A122#40A122

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

Color values

HEX#40A122
RGBrgb(64, 161, 34)
HSLhsl(106, 65%, 38%)
HSVhsv(106, 79%, 63%)
CMYKcmyk(60.2%, 0%, 78.9%, 36.9%)
CIE-LABlab(58.69, -50.86, 53.23)
CIE-LCHlch(58.69, 73.62, 133.69°)
OKLaboklab(62.71% -0.1398 0.1187)
OKLCHoklch(62.71% 0.183 139.7)
XYZxyz(15.1473, 26.6939, 5.8673)
Luminance0.2670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A122 #8322A1
analogous
#7FA122 #40A122 #22A144
triadic
#40A122 #2240A1 #A12240
tetradic
#40A122 #227FA1 #8322A1 #A14422
square
#40A122 #227FA1 #8322A1 #A14422
split-complementary
#40A122 #4422A1 #A1227F
monochromatic
#183C0D #2C6E17 #40A122 #54D32D #7EDD60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #40a122;
/* rgb */ color: rgb(64, 161, 34);
/* oklch */ color: oklch(62.7% 0.183 139.7);
Tailwind
colors: {
  custom: {
    50: '#81be68',
    500: '#40a122',
    950: '#000000',
  },
}
SCSS
$custom: #40a122;
$custom-light: #81be68;
$custom-dark: #000000;
JSON
{
  "hex": "#40a122",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 105.827,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62711,
    "c": 0.18342,
    "h": 139.7
  },
  "luminance": 0.26695
}

Semantic roles & 50–950 ramp

primary
#40A122
secondary
#AA5DC2
accent
#40E8C0
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A122

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

Preview Lab → · Contrast checker → · Palette generator →

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