#40B23A#40B23A

#40B23A is a light, vivid green. Relative luminance 0.332; OKLCH L 67.4% C 0.189 H 142.4°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#40B23A
RGBrgb(64, 178, 58)
HSLhsl(117, 51%, 46%)
HSVhsv(117, 67%, 70%)
CMYKcmyk(64%, 0%, 67.4%, 30.2%)
CIE-LABlab(64.35, -55.03, 50.06)
CIE-LCHlch(64.35, 74.39, 137.71°)
OKLaboklab(67.44% -0.1497 0.1152)
OKLCHoklch(67.44% 0.189 142.4)
XYZxyz(18.7974, 33.2344, 9.4264)
Luminance0.3324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B23A #AC3AB2
analogous
#7CB23A #40B23A #3AB270
triadic
#40B23A #3A40B2 #B23A40
tetradic
#40B23A #3A7CB2 #AC3AB2 #B2703A
square
#40B23A #3A7CB2 #AC3AB2 #B2703A
split-complementary
#40B23A #703AB2 #B23A7C
monochromatic
#1F561C #2F842B #40B23A #64CB5F #91DA8D

Accessibility & contrast

On white

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

On black

7.65
#40B23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B23A
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B23A#FFFFFF#000000##000000
##40B23A1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22A
Deuteranopia (green-blind)
#A89845
Tritanopia (blue-blind)
#29AD9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b23a;
/* rgb */ color: rgb(64, 178, 58);
/* oklch */ color: oklch(67.4% 0.189 142.4);
Tailwind
colors: {
  custom: {
    50: '#83ca76',
    500: '#40b23a',
    950: '#000000',
  },
}
SCSS
$custom: #40b23a;
$custom-light: #83ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#40b23a",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 117,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.67444,
    "c": 0.18896,
    "h": 142.4
  },
  "luminance": 0.33236
}

Semantic roles & 50–950 ramp

primary
#40B23A
secondary
#C183C4
accent
#4DDAD3
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B23A

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

Preview Lab → · Contrast checker → · Palette generator →

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