#40998F#40998F

#40998F is a light, moderate teal. Relative luminance 0.259; OKLCH L 62.6% C 0.086 H 185.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#40998F
RGBrgb(64, 153, 143)
HSLhsl(173, 41%, 43%)
HSVhsv(173, 58%, 60%)
CMYKcmyk(58.2%, 0%, 6.5%, 40%)
CIE-LABlab(57.90, -28.96, -2.73)
CIE-LCHlch(57.90, 29.09, 185.38°)
OKLaboklab(62.64% -0.0858 -0.0078)
OKLCHoklch(62.64% 0.086 185.2)
XYZxyz(18.4613, 25.8538, 29.9986)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40998F #99404A
analogous
#409962 #40998F #407799
triadic
#40998F #8F4099 #998F40
tetradic
#40998F #624099 #99404A #779940
square
#40998F #624099 #99404A #779940
split-complementary
#40998F #994077 #996240
monochromatic
#1C433E #2E6E67 #40998F #5CBBB0 #87CDC5

Accessibility & contrast

On white

3.40
#40998F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#40998F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40998F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40998F#FFFFFF#000000##000000
##40998F1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92918F
Deuteranopia (green-blind)
#848790
Tritanopia (blue-blind)
#009C96
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #40998f;
/* rgb */ color: rgb(64, 153, 143);
/* oklch */ color: oklch(62.6% 0.086 185.2);
Tailwind
colors: {
  custom: {
    50: '#7eb7af',
    500: '#40998f',
    950: '#000000',
  },
}
SCSS
$custom: #40998f;
$custom-light: #7eb7af;
$custom-dark: #000000;
JSON
{
  "hex": "#40998f",
  "rgb": {
    "r": 64,
    "g": 153,
    "b": 143
  },
  "hsl": {
    "h": 173.258,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.62639,
    "c": 0.08615,
    "h": 185.2
  },
  "luminance": 0.25856
}

Semantic roles & 50–950 ramp

primary
#40998F
secondary
#B77E84
accent
#5765D1
background
#F8FBFA
surface
#EFF6F4
border
#CAD0CE
text
#0B1110
muted
#7C807F

Preview Lab

Preview with #40998F

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

Preview Lab → · Contrast checker → · Palette generator →

#40998F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva