#40A873#40A873

#40A873 is a light, vivid green. Relative luminance 0.303; OKLCH L 65.7% C 0.125 H 157.8°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#40A873
RGBrgb(64, 168, 115)
HSLhsl(149, 45%, 45%)
HSVhsv(149, 62%, 66%)
CMYKcmyk(61.9%, 0%, 31.5%, 34.1%)
CIE-LABlab(61.94, -42.52, 18.72)
CIE-LCHlch(61.94, 46.45, 156.24°)
OKLaboklab(65.71% -0.1158 0.0474)
OKLCHoklch(65.71% 0.125 157.8)
XYZxyz(19.2098, 30.3311, 21.0585)
Luminance0.3033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A873 #A84075
analogous
#41A840 #40A873 #40A8A7
triadic
#40A873 #7340A8 #A87340
tetradic
#40A873 #4041A8 #A84075 #A8A740
square
#40A873 #4041A8 #A84075 #A8A740
split-complementary
#40A873 #A740A8 #A84041
monochromatic
#1E4F36 #2F7C55 #40A873 #62C392 #8ED4B1

Accessibility & contrast

On white

2.97
#40A873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#40A873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A873
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A873#FFFFFF#000000##000000
##40A8731.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79C70
Deuteranopia (green-blind)
#999276
Tritanopia (blue-blind)
#0CA79A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40a873;
/* rgb */ color: rgb(64, 168, 115);
/* oklch */ color: oklch(65.7% 0.125 157.8);
Tailwind
colors: {
  custom: {
    50: '#7fc29b',
    500: '#40a873',
    950: '#000000',
  },
}
SCSS
$custom: #40a873;
$custom-light: #7fc29b;
$custom-dark: #000000;
JSON
{
  "hex": "#40a873",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 115
  },
  "hsl": {
    "h": 149.423,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.65711,
    "c": 0.12517,
    "h": 157.8
  },
  "luminance": 0.30333
}

Semantic roles & 50–950 ramp

primary
#40A873
secondary
#BF85A2
accent
#5395D5
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B120E
muted
#7C817E

Preview Lab

Preview with #40A873

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

Preview Lab → · Contrast checker → · Palette generator →

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