#298871#298871

#298871 is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.6% C 0.094 H 173.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#298871
RGBrgb(41, 136, 113)
HSLhsl(165, 54%, 35%)
HSVhsv(165, 70%, 53%)
CMYKcmyk(69.9%, 0%, 16.9%, 46.7%)
CIE-LABlab(51.00, -33.20, 4.41)
CIE-LCHlch(51.00, 33.49, 172.43°)
OKLaboklab(56.57% -0.0938 0.0112)
OKLCHoklch(56.57% 0.094 173.2)
XYZxyz(12.6978, 19.2706, 18.6700)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298871 #882940
analogous
#298842 #298871 #296F88
triadic
#298871 #712988 #887129
tetradic
#298871 #422988 #882940 #6F8829
square
#298871 #422988 #882940 #6F8829
split-complementary
#298871 #88296F #884229
monochromatic
#0D2A23 #1B594A #298871 #37B798 #5DCEB3

Accessibility & contrast

On white

4.33
#298871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#298871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298871
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298871#FFFFFF#000000##000000
##2988711.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#837F70
Deuteranopia (green-blind)
#767673
Tritanopia (blue-blind)
#008981
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #298871;
/* rgb */ color: rgb(41, 136, 113);
/* oklch */ color: oklch(56.6% 0.094 173.2);
Tailwind
colors: {
  custom: {
    50: '#70ab99',
    500: '#298871',
    950: '#000000',
  },
}
SCSS
$custom: #298871;
$custom-light: #70ab99;
$custom-dark: #000000;
JSON
{
  "hex": "#298871",
  "rgb": {
    "r": 41,
    "g": 136,
    "b": 113
  },
  "hsl": {
    "h": 165.474,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56572,
    "c": 0.09446,
    "h": 173.2
  },
  "luminance": 0.19272
}

Semantic roles & 50–950 ramp

primary
#298871
secondary
#B4596F
accent
#4B6EDD
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #298871

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

Preview Lab → · Contrast checker → · Palette generator →

#298871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva