#40B23D#40B23D

#40B23D is a light, vivid green. Relative luminance 0.333; OKLCH L 67.5% C 0.187 H 142.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#40B23D
RGBrgb(64, 178, 61)
HSLhsl(118, 49%, 47%)
HSVhsv(118, 66%, 70%)
CMYKcmyk(64%, 0%, 65.7%, 30.2%)
CIE-LABlab(64.38, -54.73, 48.83)
CIE-LCHlch(64.38, 73.34, 138.26°)
OKLaboklab(67.47% -0.1488 0.113)
OKLCHoklch(67.47% 0.187 142.8)
XYZxyz(18.8760, 33.2658, 9.8402)
Luminance0.3327 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B23D #AF3DB2
analogous
#7AB23D #40B23D #3DB275
triadic
#40B23D #3D40B2 #B23D40
tetradic
#40B23D #3D7AB2 #AF3DB2 #B2753D
square
#40B23D #3D7AB2 #AF3DB2 #B2753D
split-complementary
#40B23D #753DB2 #B23D7A
monochromatic
#1F571E #30842D #40B23D #65C963 #92D990

Accessibility & contrast

On white

2.74
#40B23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B23D#FFFFFF#000000##000000
##40B23D1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40b23d;
/* rgb */ color: rgb(64, 178, 61);
/* oklch */ color: oklch(67.5% 0.187 142.8);
Tailwind
colors: {
  custom: {
    50: '#83ca78',
    500: '#40b23d',
    950: '#000000',
  },
}
SCSS
$custom: #40b23d;
$custom-light: #83ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#40b23d",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 61
  },
  "hsl": {
    "h": 118.462,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67473,
    "c": 0.18683,
    "h": 142.8
  },
  "luminance": 0.33268
}

Semantic roles & 50–950 ramp

primary
#40B23D
secondary
#C387C4
accent
#4FD9D5
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B23D

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

Preview Lab → · Contrast checker → · Palette generator →

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