#40A398#40A398

#40A398 is a light, moderate teal. Relative luminance 0.296; OKLCH L 65.5% C 0.093 H 185.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#40A398
RGBrgb(64, 163, 152)
HSLhsl(173, 44%, 45%)
HSVhsv(173, 61%, 64%)
CMYKcmyk(60.7%, 0%, 6.7%, 36.1%)
CIE-LABlab(61.26, -31.35, -2.88)
CIE-LCHlch(61.26, 31.49, 185.24°)
OKLaboklab(65.45% -0.0928 -0.0083)
OKLCHoklch(65.45% 0.093 185.1)
XYZxyz(20.8765, 29.5492, 34.3030)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A398 #A3404B
analogous
#40A366 #40A398 #407DA3
triadic
#40A398 #9840A3 #A39840
tetradic
#40A398 #6640A3 #A3404B #7DA340
square
#40A398 #6640A3 #A3404B #7DA340
split-complementary
#40A398 #A3407D #A36640
monochromatic
#1D4B46 #2F776F #40A398 #60C0B6 #8CD2CA

Accessibility & contrast

On white

3.04
#40A398 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#40A398 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A398
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A398#FFFFFF#000000##000000
##40A3981.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B9A98
Deuteranopia (green-blind)
#8C8F99
Tritanopia (blue-blind)
#00A69F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #40a398;
/* rgb */ color: rgb(64, 163, 152);
/* oklch */ color: oklch(65.5% 0.093 185.1);
Tailwind
colors: {
  custom: {
    50: '#80beb6',
    500: '#40a398',
    950: '#000000',
  },
}
SCSS
$custom: #40a398;
$custom-light: #80beb6;
$custom-dark: #000000;
JSON
{
  "hex": "#40a398",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 152
  },
  "hsl": {
    "h": 173.333,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.65454,
    "c": 0.09316,
    "h": 185.1
  },
  "luminance": 0.29551
}

Semantic roles & 50–950 ramp

primary
#40A398
secondary
#BD8289
accent
#5463D3
background
#F8FBFB
surface
#EFF7F6
border
#CAD0D0
text
#0B1211
muted
#7C8180

Preview Lab

Preview with #40A398

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

Preview Lab → · Contrast checker → · Palette generator →

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