#298E7F#298E7F

#298E7F is a mid, moderate teal. Relative luminance 0.213; OKLCH L 58.6% C 0.093 H 180.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#298E7F
RGBrgb(41, 142, 127)
HSLhsl(171, 55%, 36%)
HSVhsv(171, 71%, 56%)
CMYKcmyk(71.1%, 0%, 10.6%, 44.3%)
CIE-LABlab(53.33, -32.18, -0.33)
CIE-LCHlch(53.33, 32.18, 180.58°)
OKLaboklab(58.6% -0.0934 -0.0014)
OKLCHoklch(58.6% 0.093 180.9)
XYZxyz(14.4164, 21.3481, 23.4354)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E7F #8E2938
analogous
#298E4C #298E7F #296A8E
triadic
#298E7F #7F298E #8E7F29
tetradic
#298E7F #4C298E #8E2938 #6A8E29
square
#298E7F #4C298E #8E2938 #6A8E29
split-complementary
#298E7F #8E296A #8E4C29
monochromatic
#0E2F2A #1B5F55 #298E7F #37BDA9 #60D1C0

Accessibility & contrast

On white

3.98
#298E7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#298E7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E7F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E7F#FFFFFF#000000##000000
##298E7F1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88857E
Deuteranopia (green-blind)
#797B80
Tritanopia (blue-blind)
#009189
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #298e7f;
/* rgb */ color: rgb(41, 142, 127);
/* oklch */ color: oklch(58.6% 0.093 180.9);
Tailwind
colors: {
  custom: {
    50: '#72afa4',
    500: '#298e7f',
    950: '#000000',
  },
}
SCSS
$custom: #298e7f;
$custom-light: #72afa4;
$custom-dark: #000000;
JSON
{
  "hex": "#298e7f",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 127
  },
  "hsl": {
    "h": 171.089,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58596,
    "c": 0.09344,
    "h": 180.9
  },
  "luminance": 0.2135
}

Semantic roles & 50–950 ramp

primary
#298E7F
secondary
#B75C69
accent
#495FDF
background
#F7FAFA
surface
#EDF5F4
border
#C8CFCE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #298E7F

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

Preview Lab → · Contrast checker → · Palette generator →

#298E7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva