#40AF98#40AF98

#40AF98 is a light, moderate teal. Relative luminance 0.340; OKLCH L 68.5% C 0.106 H 176.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#40AF98
RGBrgb(64, 175, 152)
HSLhsl(168, 46%, 47%)
HSVhsv(168, 63%, 69%)
CMYKcmyk(63.4%, 0%, 13.1%, 31.4%)
CIE-LABlab(64.97, -36.96, 2.55)
CIE-LCHlch(64.97, 37.04, 176.06°)
OKLaboklab(68.47% -0.1058 0.0062)
OKLCHoklch(68.47% 0.106 176.7)
XYZxyz(23.1091, 34.0145, 35.0472)
Luminance0.3402 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF98 #AF4057
analogous
#40AF61 #40AF98 #408FAF
triadic
#40AF98 #9840AF #AF9840
tetradic
#40AF98 #6140AF #AF4057 #8FAF40
square
#40AF98 #6140AF #AF4057 #8FAF40
split-complementary
#40AF98 #AF408F #AF6140
monochromatic
#1F554A #308271 #40AF98 #65C7B3 #92D7C9

Accessibility & contrast

On white

2.69
#40AF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#40AF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF98
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF98#FFFFFF#000000##000000
##40AF981.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A597
Deuteranopia (green-blind)
#98999A
Tritanopia (blue-blind)
#00B1A8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40af98;
/* rgb */ color: rgb(64, 175, 152);
/* oklch */ color: oklch(68.5% 0.106 176.7);
Tailwind
colors: {
  custom: {
    50: '#81c7b6',
    500: '#40af98',
    950: '#000000',
  },
}
SCSS
$custom: #40af98;
$custom-light: #81c7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#40af98",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 152
  },
  "hsl": {
    "h": 167.568,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.6847,
    "c": 0.106,
    "h": 176.7
  },
  "luminance": 0.34017
}

Semantic roles & 50–950 ramp

primary
#40AF98
secondary
#C38894
accent
#526DD6
background
#F8FCFB
surface
#F0F8F6
border
#CBD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #40AF98

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

Preview Lab → · Contrast checker → · Palette generator →

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