#40B32F#40B32F

#40B32F is a light, vivid green. Relative luminance 0.335; OKLCH L 67.6% C 0.197 H 141.3°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#40B32F
RGBrgb(64, 179, 47)
HSLhsl(112, 58%, 44%)
HSVhsv(112, 74%, 70%)
CMYKcmyk(64.2%, 0%, 73.7%, 29.8%)
CIE-LABlab(64.59, -56.33, 54.58)
CIE-LCHlch(64.59, 78.43, 135.90°)
OKLaboklab(67.62% -0.1539 0.1233)
OKLCHoklch(67.62% 0.197 141.3)
XYZxyz(18.7466, 33.5336, 8.1735)
Luminance0.3353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B32F #A22FB3
analogous
#82B32F #40B32F #2FB360
triadic
#40B32F #2F40B3 #B32F40
tetradic
#40B32F #2F82B3 #A22FB3 #B3602F
square
#40B32F #2F82B3 #A22FB3 #B3602F
split-complementary
#40B32F #602FB3 #B32F82
monochromatic
#1D5216 #2F8322 #40B32F #5FD14F #8BDD7F

Accessibility & contrast

On white

2.72
#40B32F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#40B32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B32F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B32F#FFFFFF#000000##000000
##40B32F1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A216
Deuteranopia (green-blind)
#AA993D
Tritanopia (blue-blind)
#2CAD99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b32f;
/* rgb */ color: rgb(64, 179, 47);
/* oklch */ color: oklch(67.6% 0.197 141.3);
Tailwind
colors: {
  custom: {
    50: '#83cb70',
    500: '#40b32f',
    950: '#000000',
  },
}
SCSS
$custom: #40b32f;
$custom-light: #83cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#40b32f",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 47
  },
  "hsl": {
    "h": 112.273,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67617,
    "c": 0.19719,
    "h": 141.3
  },
  "luminance": 0.33535
}

Semantic roles & 50–950 ramp

primary
#40B32F
secondary
#BC78C6
accent
#46E2CE
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B32F

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

Preview Lab → · Contrast checker → · Palette generator →

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