#40A63B#40A63B

#40A63B is a light, vivid green. Relative luminance 0.287; OKLCH L 64.3% C 0.173 H 142.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#40A63B
RGBrgb(64, 166, 59)
HSLhsl(117, 48%, 44%)
HSVhsv(117, 64%, 65%)
CMYKcmyk(61.4%, 0%, 64.5%, 34.9%)
CIE-LABlab(60.50, -50.58, 45.42)
CIE-LCHlch(60.50, 67.98, 138.08°)
OKLaboklab(64.26% -0.1376 0.1055)
OKLCHoklch(64.26% 0.173 142.5)
XYZxyz(16.5391, 28.6766, 8.8004)
Luminance0.2868 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A63B #A13BA6
analogous
#76A63B #40A63B #3BA66C
triadic
#40A63B #3B40A6 #A63B40
tetradic
#40A63B #3B76A6 #A13BA6 #A66C3B
square
#40A63B #3B76A6 #A13BA6 #A66C3B
split-complementary
#40A63B #6C3BA6 #A63B76
monochromatic
#1D4C1B #2F792B #40A63B #5FC45A #8BD487

Accessibility & contrast

On white

3.12
#40A63B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#40A63B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A63B
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A63B#FFFFFF#000000##000000
##40A63B1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA972E
Deuteranopia (green-blind)
#9D8F44
Tritanopia (blue-blind)
#2EA190
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a63b;
/* rgb */ color: rgb(64, 166, 59);
/* oklch */ color: oklch(64.3% 0.173 142.5);
Tailwind
colors: {
  custom: {
    50: '#80c175',
    500: '#40a63b',
    950: '#000000',
  },
}
SCSS
$custom: #40a63b;
$custom-light: #80c175;
$custom-dark: #000000;
JSON
{
  "hex": "#40a63b",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 59
  },
  "hsl": {
    "h": 117.196,
    "s": 47.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.64261,
    "c": 0.17345,
    "h": 142.5
  },
  "luminance": 0.28678
}

Semantic roles & 50–950 ramp

primary
#40A63B
secondary
#BC7EBF
accent
#51D7D1
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #40A63B

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

Preview Lab → · Contrast checker → · Palette generator →

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