#40B22F#40B22F

#40B22F is a light, vivid green. Relative luminance 0.331; OKLCH L 67.4% C 0.196 H 141.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#40B22F
RGBrgb(64, 178, 47)
HSLhsl(112, 58%, 44%)
HSVhsv(112, 74%, 70%)
CMYKcmyk(64%, 0%, 73.6%, 30.2%)
CIE-LABlab(64.27, -55.98, 54.26)
CIE-LCHlch(64.27, 77.96, 135.89°)
OKLaboklab(67.35% -0.1529 0.1227)
OKLCHoklch(67.35% 0.196 141.3)
XYZxyz(18.5469, 33.1342, 8.1069)
Luminance0.3314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B22F #A12FB2
analogous
#82B22F #40B22F #2FB260
triadic
#40B22F #2F40B2 #B22F40
tetradic
#40B22F #2F82B2 #A12FB2 #B2602F
square
#40B22F #2F82B2 #A12FB2 #B2602F
split-complementary
#40B22F #602FB2 #B22F82
monochromatic
#1D5115 #2F8222 #40B22F #5FD04E #8BDD7E

Accessibility & contrast

On white

2.75
#40B22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#40B22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B22F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B22F#FFFFFF#000000##000000
##40B22F1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A116
Deuteranopia (green-blind)
#A9983D
Tritanopia (blue-blind)
#2CAC99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b22f;
/* rgb */ color: rgb(64, 178, 47);
/* oklch */ color: oklch(67.4% 0.196 141.3);
Tailwind
colors: {
  custom: {
    50: '#83ca70',
    500: '#40b22f',
    950: '#000000',
  },
}
SCSS
$custom: #40b22f;
$custom-light: #83ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#40b22f",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 112.214,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67351,
    "c": 0.19604,
    "h": 141.3
  },
  "luminance": 0.33136
}

Semantic roles & 50–950 ramp

primary
#40B22F
secondary
#BC77C6
accent
#46E1CD
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B22F

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

Preview Lab → · Contrast checker → · Palette generator →

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