#40A63C#40A63C

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

Color values

HEX#40A63C
RGBrgb(64, 166, 60)
HSLhsl(118, 47%, 44%)
HSVhsv(118, 64%, 65%)
CMYKcmyk(61.4%, 0%, 63.9%, 34.9%)
CIE-LABlab(60.50, -50.47, 44.98)
CIE-LCHlch(60.50, 67.61, 138.29°)
OKLaboklab(64.27% -0.1373 0.1047)
OKLCHoklch(64.27% 0.173 142.7)
XYZxyz(16.5653, 28.6871, 8.9383)
Luminance0.2869 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A63C #A23CA6
analogous
#75A63C #40A63C #3CA66D
triadic
#40A63C #3C40A6 #A63C40
tetradic
#40A63C #3C75A6 #A23CA6 #A66D3C
square
#40A63C #3C75A6 #A23CA6 #A66D3C
split-complementary
#40A63C #6D3CA6 #A63C75
monochromatic
#1D4C1C #2F792C #40A63C #5FC45B #8BD488

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A63C#FFFFFF#000000##000000
##40A63C1.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)
#AA9730
Deuteranopia (green-blind)
#9D8F45
Tritanopia (blue-blind)
#2EA190
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a63c;
/* rgb */ color: rgb(64, 166, 60);
/* oklch */ color: oklch(64.3% 0.173 142.7);
Tailwind
colors: {
  custom: {
    50: '#80c176',
    500: '#40a63c',
    950: '#000000',
  },
}
SCSS
$custom: #40a63c;
$custom-light: #80c176;
$custom-dark: #000000;
JSON
{
  "hex": "#40a63c",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 60
  },
  "hsl": {
    "h": 117.736,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.64271,
    "c": 0.17267,
    "h": 142.7
  },
  "luminance": 0.28689
}

Semantic roles & 50–950 ramp

primary
#40A63C
secondary
#BC7FBE
accent
#51D7D2
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #40A63C

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

Preview Lab → · Contrast checker → · Palette generator →

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