#40A423#40A423

#40A423 is a light, vivid green. Relative luminance 0.278; OKLCH L 63.5% C 0.186 H 139.9°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#40A423
RGBrgb(64, 164, 35)
HSLhsl(107, 65%, 39%)
HSVhsv(107, 79%, 64%)
CMYKcmyk(61%, 0%, 78.7%, 35.7%)
CIE-LABlab(59.67, -51.88, 53.85)
CIE-LCHlch(59.67, 74.77, 133.93°)
OKLaboklab(63.52% -0.1425 0.1201)
OKLCHoklch(63.52% 0.186 139.9)
XYZxyz(15.6925, 27.7608, 6.1212)
Luminance0.2776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A423 #8723A4
analogous
#81A423 #40A423 #23A447
triadic
#40A423 #2340A4 #A42340
tetradic
#40A423 #2381A4 #8723A4 #A44723
square
#40A423 #2381A4 #8723A4 #A44723
split-complementary
#40A423 #4723A4 #A42381
monochromatic
#193F0D #2C7218 #40A423 #56D331 #7FDE64

Accessibility & contrast

On white

3.20
#40A423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#40A423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A423
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A423#FFFFFF#000000##000000
##40A4231.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#9C8D32
Tritanopia (blue-blind)
#339E8C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a423;
/* rgb */ color: rgb(64, 164, 35);
/* oklch */ color: oklch(63.5% 0.186 139.9);
Tailwind
colors: {
  custom: {
    50: '#81c068',
    500: '#40a423',
    950: '#000000',
  },
}
SCSS
$custom: #40a423;
$custom-light: #81c068;
$custom-dark: #000000;
JSON
{
  "hex": "#40a423",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 35
  },
  "hsl": {
    "h": 106.512,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63524,
    "c": 0.18639,
    "h": 139.9
  },
  "luminance": 0.27762
}

Semantic roles & 50–950 ramp

primary
#40A423
secondary
#AD60C3
accent
#40E8C2
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A423

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

Preview Lab → · Contrast checker → · Palette generator →

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