#40A630#40A630

#40A630 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.2% C 0.181 H 141.1°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#40A630
RGBrgb(64, 166, 48)
HSLhsl(112, 55%, 42%)
HSVhsv(112, 71%, 65%)
CMYKcmyk(61.4%, 0%, 71.1%, 34.9%)
CIE-LABlab(60.40, -51.63, 49.92)
CIE-LCHlch(60.40, 71.82, 135.97°)
OKLaboklab(64.16% -0.1411 0.1137)
OKLCHoklch(64.16% 0.181 141.1)
XYZxyz(16.2833, 28.5743, 7.4530)
Luminance0.2858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A630 #9630A6
analogous
#7BA630 #40A630 #30A65B
triadic
#40A630 #3040A6 #A63040
tetradic
#40A630 #307BA6 #9630A6 #A65B30
square
#40A630 #307BA6 #9630A6 #A65B30
split-complementary
#40A630 #5B30A6 #A6307B
monochromatic
#1B4715 #2E7722 #40A630 #5ACA49 #85D878

Accessibility & contrast

On white

3.13
#40A630 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#40A630 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A630
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A630#FFFFFF#000000##000000
##40A6301.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971D
Deuteranopia (green-blind)
#9E8E3B
Tritanopia (blue-blind)
#30A18F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a630;
/* rgb */ color: rgb(64, 166, 48);
/* oklch */ color: oklch(64.2% 0.181 141.1);
Tailwind
colors: {
  custom: {
    50: '#81c16f',
    500: '#40a630',
    950: '#000000',
  },
}
SCSS
$custom: #40a630;
$custom-light: #81c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#40a630",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 48
  },
  "hsl": {
    "h": 111.864,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64156,
    "c": 0.18124,
    "h": 141.1
  },
  "luminance": 0.28576
}

Semantic roles & 50–950 ramp

primary
#40A630
secondary
#B671C0
accent
#49DECA
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A630

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

Preview Lab → · Contrast checker → · Palette generator →

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