#40B273#40B273

#40B273 is a light, vivid green. Relative luminance 0.342; OKLCH L 68.3% C 0.139 H 155.5°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#40B273
RGBrgb(64, 178, 115)
HSLhsl(147, 47%, 47%)
HSVhsv(147, 64%, 70%)
CMYKcmyk(64%, 0%, 35.4%, 30.2%)
CIE-LABlab(65.09, -46.66, 23.00)
CIE-LCHlch(65.09, 52.02, 153.76°)
OKLaboklab(68.3% -0.1265 0.0578)
OKLCHoklch(68.3% 0.139 155.5)
XYZxyz(21.1274, 34.1664, 21.6977)
Luminance0.3417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B273 #B2407F
analogous
#46B240 #40B273 #40B2AC
triadic
#40B273 #7340B2 #B27340
tetradic
#40B273 #4046B2 #B2407F #B2AC40
square
#40B273 #4046B2 #B2407F #B2AC40
split-complementary
#40B273 #AC40B2 #B24046
monochromatic
#205839 #308556 #40B273 #67C892 #94D8B3

Accessibility & contrast

On white

2.68
#40B273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#40B273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B273
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B273#FFFFFF#000000##000000
##40B2731.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A46F
Deuteranopia (green-blind)
#A29A77
Tritanopia (blue-blind)
#00B0A2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b273;
/* rgb */ color: rgb(64, 178, 115);
/* oklch */ color: oklch(68.3% 0.139 155.5);
Tailwind
colors: {
  custom: {
    50: '#81ca9b',
    500: '#40b273',
    950: '#000000',
  },
}
SCSS
$custom: #40b273;
$custom-light: #81ca9b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b273",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 115
  },
  "hsl": {
    "h": 146.842,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68299,
    "c": 0.13912,
    "h": 155.5
  },
  "luminance": 0.34169
}

Semantic roles & 50–950 ramp

primary
#40B273
secondary
#C48AAA
accent
#519BD7
background
#F8FCF9
surface
#F0F8F2
border
#CBD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B273

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

Preview Lab → · Contrast checker → · Palette generator →

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