#40A830#40A830

#40A830 is a light, vivid green. Relative luminance 0.293; OKLCH L 64.7% C 0.184 H 141.2°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#40A830
RGBrgb(64, 168, 48)
HSLhsl(112, 56%, 42%)
HSVhsv(112, 71%, 66%)
CMYKcmyk(61.9%, 0%, 71.4%, 34.1%)
CIE-LABlab(61.05, -52.35, 50.59)
CIE-LCHlch(61.05, 72.80, 135.98°)
OKLaboklab(64.69% -0.1431 0.1151)
OKLCHoklch(64.69% 0.184 141.2)
XYZxyz(16.6497, 29.3071, 7.5752)
Luminance0.2931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A830 #9830A8
analogous
#7CA830 #40A830 #30A85C
triadic
#40A830 #3040A8 #A83040
tetradic
#40A830 #307CA8 #9830A8 #A85C30
square
#40A830 #307CA8 #9830A8 #A85C30
split-complementary
#40A830 #5C30A8 #A8307C
monochromatic
#1C4915 #2E7822 #40A830 #5BCB4A #86D97A

Accessibility & contrast

On white

3.06
#40A830 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#40A830 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A830
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A830#FFFFFF#000000##000000
##40A8301.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC991D
Deuteranopia (green-blind)
#9F903C
Tritanopia (blue-blind)
#30A390
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a830;
/* rgb */ color: rgb(64, 168, 48);
/* oklch */ color: oklch(64.7% 0.184 141.2);
Tailwind
colors: {
  custom: {
    50: '#81c36f',
    500: '#40a830',
    950: '#000000',
  },
}
SCSS
$custom: #40a830;
$custom-light: #81c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#40a830",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 112,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64691,
    "c": 0.18363,
    "h": 141.2
  },
  "luminance": 0.29309
}

Semantic roles & 50–950 ramp

primary
#40A830
secondary
#B773C1
accent
#49DFCB
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #40A830

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

Preview Lab → · Contrast checker → · Palette generator →

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