#40C07B#40C07B

#40C07B is a light, vivid green. Relative luminance 0.402; OKLCH L 72.1% C 0.151 H 155.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#40C07B
RGBrgb(64, 192, 123)
HSLhsl(148, 50%, 50%)
HSVhsv(148, 67%, 75%)
CMYKcmyk(66.7%, 0%, 35.9%, 24.7%)
CIE-LABlab(69.62, -50.70, 24.83)
CIE-LCHlch(69.62, 56.45, 153.91°)
OKLaboklab(72.07% -0.1373 0.0623)
OKLCHoklch(72.07% 0.151 155.6)
XYZxyz(24.5369, 40.2167, 25.2045)
Luminance0.4022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C07B #C04085
analogous
#45C040 #40C07B #40C0BB
triadic
#40C07B #7B40C0 #C07B40
tetradic
#40C07B #4045C0 #C04085 #C0BB40
square
#40C07B #4045C0 #C04085 #C0BB40
split-complementary
#40C07B #BB40C0 #C04045
monochromatic
#216440 #30925E #40C07B #6ECF9B #9CDEBB

Accessibility & contrast

On white

2.32
#40C07B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#40C07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C07B
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C07B#FFFFFF#000000##000000
##40C07B1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB176
Deuteranopia (green-blind)
#AFA57F
Tritanopia (blue-blind)
#00BEAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c07b;
/* rgb */ color: rgb(64, 192, 123);
/* oklch */ color: oklch(72.1% 0.151 155.6);
Tailwind
colors: {
  custom: {
    50: '#84d4a1',
    500: '#40c07b',
    950: '#000000',
  },
}
SCSS
$custom: #40c07b;
$custom-light: #84d4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40c07b",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 123
  },
  "hsl": {
    "h": 147.656,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72069,
    "c": 0.15079,
    "h": 155.6
  },
  "luminance": 0.40219
}

Semantic roles & 50–950 ramp

primary
#40C07B
secondary
#CB91B0
accent
#4E99DA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140F
muted
#7D837E

Preview Lab

Preview with #40C07B

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

Preview Lab → · Contrast checker → · Palette generator →

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