#40B322#40B322

#40B322 is a light, highly saturated green. Relative luminance 0.334; OKLCH L 67.5% C 0.204 H 140.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#40B322
RGBrgb(64, 179, 34)
HSLhsl(108, 68%, 42%)
HSVhsv(108, 81%, 70%)
CMYKcmyk(64.2%, 0%, 81%, 29.8%)
CIE-LABlab(64.52, -57.18, 58.73)
CIE-LCHlch(64.52, 81.97, 134.23°)
OKLaboklab(67.53% -0.1568 0.1302)
OKLCHoklch(67.53% 0.204 140.3)
XYZxyz(18.5223, 33.4439, 6.9923)
Luminance0.3345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B322 #9522B3
analogous
#89B322 #40B322 #22B34D
triadic
#40B322 #2240B3 #B32240
tetradic
#40B322 #2289B3 #9522B3 #B34D22
square
#40B322 #2289B3 #9522B3 #B34D22
split-complementary
#40B322 #4D22B3 #B32289
monochromatic
#1B4C0E #2E8018 #40B322 #5AD939 #85E36C

Accessibility & contrast

On white

2.73
#40B322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#40B322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B322
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B322#FFFFFF#000000##000000
##40B3221.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AA9934
Tritanopia (blue-blind)
#2EAD99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b322;
/* rgb */ color: rgb(64, 179, 34);
/* oklch */ color: oklch(67.5% 0.204 140.3);
Tailwind
colors: {
  custom: {
    50: '#84cb6a',
    500: '#40b322',
    950: '#000000',
  },
}
SCSS
$custom: #40b322;
$custom-light: #84cb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#40b322",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 34
  },
  "hsl": {
    "h": 107.586,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67534,
    "c": 0.20384,
    "h": 140.3
  },
  "luminance": 0.33446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B322

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

Preview Lab → · Contrast checker → · Palette generator →

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