#40B398#40B398

#40B398 is a light, moderate teal. Relative luminance 0.356; OKLCH L 69.5% C 0.111 H 174.4°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#40B398
RGBrgb(64, 179, 152)
HSLhsl(166, 47%, 48%)
HSVhsv(166, 64%, 70%)
CMYKcmyk(64.2%, 0%, 15.1%, 29.8%)
CIE-LABlab(66.21, -38.76, 4.33)
CIE-LCHlch(66.21, 39.00, 173.62°)
OKLaboklab(69.48% -0.1101 0.0109)
OKLCHoklch(69.48% 0.111 174.4)
XYZxyz(23.8992, 35.5946, 35.3106)
Luminance0.3560 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B398 #B3405B
analogous
#40B35E #40B398 #4094B3
triadic
#40B398 #9840B3 #B39840
tetradic
#40B398 #5E40B3 #B3405B #94B340
square
#40B398 #5E40B3 #B3405B #94B340
split-complementary
#40B398 #B34094 #B35E40
monochromatic
#20594B #308672 #40B398 #67C9B2 #94D9C9

Accessibility & contrast

On white

2.59
#40B398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#40B398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B398
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B398#FFFFFF#000000##000000
##40B3981.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA897
Deuteranopia (green-blind)
#9D9C9A
Tritanopia (blue-blind)
#00B5AB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b398;
/* rgb */ color: rgb(64, 179, 152);
/* oklch */ color: oklch(69.5% 0.111 174.4);
Tailwind
colors: {
  custom: {
    50: '#82cab6',
    500: '#40b398',
    950: '#000000',
  },
}
SCSS
$custom: #40b398;
$custom-light: #82cab6;
$custom-dark: #000000;
JSON
{
  "hex": "#40b398",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 152
  },
  "hsl": {
    "h": 165.913,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.69477,
    "c": 0.11063,
    "h": 174.4
  },
  "luminance": 0.35597
}

Semantic roles & 50–950 ramp

primary
#40B398
secondary
#C48A98
accent
#5170D7
background
#F8FCFB
surface
#F0F8F6
border
#CBD1D0
text
#0C1311
muted
#7D8280

Preview Lab

Preview with #40B398

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

Preview Lab → · Contrast checker → · Palette generator →

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