#40C98B#40C98B

#40C98B is a light, vivid teal. Relative luminance 0.447; OKLCH L 74.7% C 0.148 H 159.5°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#40C98B
RGBrgb(64, 201, 139)
HSLhsl(153, 56%, 52%)
HSVhsv(153, 68%, 79%)
CMYKcmyk(68.2%, 0%, 30.8%, 21.2%)
CIE-LABlab(72.71, -51.04, 20.54)
CIE-LCHlch(72.71, 55.01, 158.08°)
OKLaboklab(74.7% -0.139 0.0521)
OKLCHoklch(74.7% 0.148 159.5)
XYZxyz(27.6585, 44.7243, 31.5961)
Luminance0.4473 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C98B #C9407E
analogous
#40C947 #40C98B #40C2C9
triadic
#40C98B #8B40C9 #C98B40
tetradic
#40C98B #4740C9 #C9407E #C2C940
square
#40C98B #4740C9 #C9407E #C2C940
split-complementary
#40C98B #C940C2 #C94740
monochromatic
#1F6F4B #2D9F6B #40C98B #70D6A8 #9FE4C5

Accessibility & contrast

On white

2.11
#40C98B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#40C98B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C98B
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C98B#FFFFFF#000000##000000
##40C98B1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7BA87
Deuteranopia (green-blind)
#B5AD8F
Tritanopia (blue-blind)
#00C8B9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40c98b;
/* rgb */ color: rgb(64, 201, 139);
/* oklch */ color: oklch(74.7% 0.148 159.5);
Tailwind
colors: {
  custom: {
    50: '#85daad',
    500: '#40c98b',
    950: '#000000',
  },
}
SCSS
$custom: #40c98b;
$custom-light: #85daad;
$custom-dark: #000000;
JSON
{
  "hex": "#40c98b",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 139
  },
  "hsl": {
    "h": 152.847,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74703,
    "c": 0.14844,
    "h": 159.5
  },
  "luminance": 0.44727
}

Semantic roles & 50–950 ramp

primary
#40C98B
secondary
#D094B0
accent
#498DDF
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C1510
muted
#7D837F

Preview Lab

Preview with #40C98B

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

Preview Lab → · Contrast checker → · Palette generator →

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