#40A021#40A021

#40A021 is a light, vivid green. Relative luminance 0.263; OKLCH L 62.4% C 0.183 H 139.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#40A021
RGBrgb(64, 160, 33)
HSLhsl(105, 66%, 38%)
HSVhsv(105, 79%, 63%)
CMYKcmyk(60%, 0%, 79.4%, 37.3%)
CIE-LABlab(58.36, -50.56, 53.24)
CIE-LCHlch(58.36, 73.42, 133.52°)
OKLaboklab(62.43% -0.1391 0.1186)
OKLCHoklch(62.43% 0.183 139.5)
XYZxyz(14.9590, 26.3401, 5.7344)
Luminance0.2634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A021 #8121A0
analogous
#80A021 #40A021 #21A041
triadic
#40A021 #2140A0 #A02140
tetradic
#40A021 #2180A0 #8121A0 #A04121
square
#40A021 #2180A0 #8121A0 #A04121
split-complementary
#40A021 #4121A0 #A02180
monochromatic
#173B0C #2C6D17 #40A021 #54D32B #7DDE5E

Accessibility & contrast

On white

3.35
#40A021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#40A021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A021
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A021#FFFFFF#000000##000000
##40A0211.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#998930
Tritanopia (blue-blind)
#349A88
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #40a021;
/* rgb */ color: rgb(64, 160, 33);
/* oklch */ color: oklch(62.4% 0.183 139.5);
Tailwind
colors: {
  custom: {
    50: '#81bd67',
    500: '#40a021',
    950: '#000000',
  },
}
SCSS
$custom: #40a021;
$custom-light: #81bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#40a021",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 105.354,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62435,
    "c": 0.18275,
    "h": 139.5
  },
  "luminance": 0.26341
}

Semantic roles & 50–950 ramp

primary
#40A021
secondary
#A95BC2
accent
#3FE9BF
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #40A021

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

Preview Lab → · Contrast checker → · Palette generator →

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