#40A023#40A023

#40A023 is a light, vivid green. Relative luminance 0.264; OKLCH L 62.4% C 0.182 H 139.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#40A023
RGBrgb(64, 160, 35)
HSLhsl(106, 64%, 38%)
HSVhsv(106, 78%, 63%)
CMYKcmyk(60%, 0%, 78.1%, 37.3%)
CIE-LABlab(58.37, -50.43, 52.60)
CIE-LCHlch(58.37, 72.87, 133.79°)
OKLaboklab(62.45% -0.1386 0.1175)
OKLCHoklch(62.45% 0.182 139.7)
XYZxyz(14.9879, 26.3516, 5.8863)
Luminance0.2635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A023 #8323A0
analogous
#7EA023 #40A023 #23A044
triadic
#40A023 #2340A0 #A02340
tetradic
#40A023 #237EA0 #8323A0 #A04423
square
#40A023 #237EA0 #8323A0 #A04423
split-complementary
#40A023 #4423A0 #A0237E
monochromatic
#183C0D #2C6E18 #40A023 #54D12F #7EDC61

Accessibility & contrast

On white

3.35
#40A023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#40A023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A023
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A023#FFFFFF#000000##000000
##40A0231.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59102
Deuteranopia (green-blind)
#998931
Tritanopia (blue-blind)
#349B89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #40a023;
/* rgb */ color: rgb(64, 160, 35);
/* oklch */ color: oklch(62.4% 0.182 139.7);
Tailwind
colors: {
  custom: {
    50: '#80bd68',
    500: '#40a023',
    950: '#000000',
  },
}
SCSS
$custom: #40a023;
$custom-light: #80bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#40a023",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 106.08,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62447,
    "c": 0.18173,
    "h": 139.7
  },
  "luminance": 0.26353
}

Semantic roles & 50–950 ramp

primary
#40A023
secondary
#AA5DC1
accent
#41E7C0
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A023

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

Preview Lab → · Contrast checker → · Palette generator →

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