#40AF23#40AF23

#40AF23 is a light, vivid green. Relative luminance 0.319; OKLCH L 66.5% C 0.199 H 140.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#40AF23
RGBrgb(64, 175, 35)
HSLhsl(108, 67%, 41%)
HSVhsv(108, 80%, 69%)
CMYKcmyk(63.4%, 0%, 80%, 31.4%)
CIE-LABlab(63.23, -55.75, 57.24)
CIE-LCHlch(63.23, 79.90, 134.25°)
OKLaboklab(66.47% -0.1529 0.1272)
OKLCHoklch(66.47% 0.199 140.2)
XYZxyz(17.7469, 31.8696, 6.8060)
Luminance0.3187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF23 #9223AF
analogous
#86AF23 #40AF23 #23AF4C
triadic
#40AF23 #2340AF #AF2340
tetradic
#40AF23 #2386AF #9223AF #AF4C23
square
#40AF23 #2386AF #9223AF #AF4C23
split-complementary
#40AF23 #4C23AF #AF2386
monochromatic
#1B490F #2D7C19 #40AF23 #59D738 #84E16B

Accessibility & contrast

On white

2.85
#40AF23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#40AF23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF23
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF23#FFFFFF#000000##000000
##40AF231.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#2FA995
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40af23;
/* rgb */ color: rgb(64, 175, 35);
/* oklch */ color: oklch(66.5% 0.199 140.2);
Tailwind
colors: {
  custom: {
    50: '#83c86a',
    500: '#40af23',
    950: '#000000',
  },
}
SCSS
$custom: #40af23;
$custom-light: #83c86a;
$custom-dark: #000000;
JSON
{
  "hex": "#40af23",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 107.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66473,
    "c": 0.19893,
    "h": 140.2
  },
  "luminance": 0.31871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40AF23

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

Preview Lab → · Contrast checker → · Palette generator →

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