#40B422#40B422

#40B422 is a light, highly saturated green. Relative luminance 0.338; OKLCH L 67.8% C 0.205 H 140.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#40B422
RGBrgb(64, 180, 34)
HSLhsl(108, 68%, 42%)
HSVhsv(108, 81%, 71%)
CMYKcmyk(64.4%, 0%, 81.1%, 29.4%)
CIE-LABlab(64.84, -57.52, 59.03)
CIE-LCHlch(64.84, 82.42, 134.26°)
OKLaboklab(67.8% -0.1577 0.1308)
OKLCHoklch(67.8% 0.205 140.3)
XYZxyz(18.7234, 33.8462, 7.0593)
Luminance0.3385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B422 #9622B4
analogous
#89B422 #40B422 #22B44D
triadic
#40B422 #2240B4 #B42240
tetradic
#40B422 #2289B4 #9622B4 #B44D22
square
#40B422 #2289B4 #9622B4 #B44D22
split-complementary
#40B422 #4D22B4 #B42289
monochromatic
#1B4D0F #2E8118 #40B422 #5ADA3A #85E36D

Accessibility & contrast

On white

2.70
#40B422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#40B422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B422
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B422#FFFFFF#000000##000000
##40B4221.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AB9A34
Tritanopia (blue-blind)
#2DAE99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b422;
/* rgb */ color: rgb(64, 180, 34);
/* oklch */ color: oklch(67.8% 0.205 140.3);
Tailwind
colors: {
  custom: {
    50: '#84cb6a',
    500: '#40b422',
    950: '#000000',
  },
}
SCSS
$custom: #40b422;
$custom-light: #84cb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#40b422",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 34
  },
  "hsl": {
    "h": 107.671,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67801,
    "c": 0.20494,
    "h": 140.3
  },
  "luminance": 0.33848
}

Semantic roles & 50–950 ramp

primary
#40B422
secondary
#B668CA
accent
#3DEBC7
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B422

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

Preview Lab → · Contrast checker → · Palette generator →

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