#40A950#40A950

#40A950 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.3% C 0.160 H 146.2°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#40A950
RGBrgb(64, 169, 80)
HSLhsl(129, 45%, 46%)
HSVhsv(129, 62%, 66%)
CMYKcmyk(62.1%, 0%, 52.7%, 33.7%)
CIE-LABlab(61.69, -49.09, 36.87)
CIE-LCHlch(61.69, 61.39, 143.09°)
OKLaboklab(65.32% -0.1327 0.0887)
OKLCHoklch(65.32% 0.16 146.2)
XYZxyz(17.7491, 30.0434, 12.4515)
Luminance0.3004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A950 #A94099
analogous
#64A940 #40A950 #40A984
triadic
#40A950 #5040A9 #A95040
tetradic
#40A950 #4064A9 #A94099 #A98440
square
#40A950 #4064A9 #A94099 #A98440
split-complementary
#40A950 #8440A9 #A94064
monochromatic
#1E5026 #2F7D3B #40A950 #62C471 #8FD599

Accessibility & contrast

On white

3.00
#40A950 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#40A950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A950
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A950#FFFFFF#000000##000000
##40A9501.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B48
Deuteranopia (green-blind)
#9E9156
Tritanopia (blue-blind)
#26A595
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40a950;
/* rgb */ color: rgb(64, 169, 80);
/* oklch */ color: oklch(65.3% 0.160 146.2);
Tailwind
colors: {
  custom: {
    50: '#80c383',
    500: '#40a950',
    950: '#000000',
  },
}
SCSS
$custom: #40a950;
$custom-light: #80c383;
$custom-dark: #000000;
JSON
{
  "hex": "#40a950",
  "rgb": {
    "r": 64,
    "g": 169,
    "b": 80
  },
  "hsl": {
    "h": 129.143,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.65322,
    "c": 0.15967,
    "h": 146.2
  },
  "luminance": 0.30045
}

Semantic roles & 50–950 ramp

primary
#40A950
secondary
#C085B7
accent
#53C1D5
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #40A950

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

Preview Lab → · Contrast checker → · Palette generator →

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