#40AE23#40AE23

#40AE23 is a light, vivid green. Relative luminance 0.315; OKLCH L 66.2% C 0.198 H 140.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#40AE23
RGBrgb(64, 174, 35)
HSLhsl(107, 67%, 41%)
HSVhsv(107, 80%, 68%)
CMYKcmyk(63.2%, 0%, 79.9%, 31.8%)
CIE-LABlab(62.91, -55.40, 56.93)
CIE-LCHlch(62.91, 79.44, 134.22°)
OKLaboklab(66.21% -0.152 0.1266)
OKLCHoklch(66.21% 0.198 140.2)
XYZxyz(17.5529, 31.4818, 6.7413)
Luminance0.3148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE23 #9123AE
analogous
#85AE23 #40AE23 #23AE4B
triadic
#40AE23 #2340AE #AE2340
tetradic
#40AE23 #2385AE #9123AE #AE4B23
square
#40AE23 #2385AE #9123AE #AE4B23
split-complementary
#40AE23 #4B23AE #AE2385
monochromatic
#1B480F #2D7B19 #40AE23 #59D737 #83E16A

Accessibility & contrast

On white

2.88
#40AE23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#40AE23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AE23
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AE23#FFFFFF#000000##000000
##40AE231.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A69534
Tritanopia (blue-blind)
#2FA894
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ae23;
/* rgb */ color: rgb(64, 174, 35);
/* oklch */ color: oklch(66.2% 0.198 140.2);
Tailwind
colors: {
  custom: {
    50: '#83c76a',
    500: '#40ae23',
    950: '#000000',
  },
}
SCSS
$custom: #40ae23;
$custom-light: #83c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae23",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 35
  },
  "hsl": {
    "h": 107.482,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66206,
    "c": 0.1978,
    "h": 140.2
  },
  "luminance": 0.31483
}

Semantic roles & 50–950 ramp

primary
#40AE23
secondary
#B366C7
accent
#3EE9C6
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AE23

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

Preview Lab → · Contrast checker → · Palette generator →

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