#298172#298172

#298172 is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.7% C 0.086 H 179.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#298172
RGBrgb(41, 129, 114)
HSLhsl(170, 52%, 33%)
HSVhsv(170, 68%, 51%)
CMYKcmyk(68.2%, 0%, 11.6%, 49.4%)
CIE-LABlab(48.74, -29.63, 0.55)
CIE-LCHlch(48.74, 29.63, 178.93°)
OKLaboklab(54.74% -0.0856 0.001)
OKLCHoklch(54.74% 0.086 179.3)
XYZxyz(11.8005, 17.3855, 18.6502)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298172 #812938
analogous
#298146 #298172 #296481
triadic
#298172 #722981 #817229
tetradic
#298172 #462981 #812938 #648129
square
#298172 #462981 #812938 #648129
split-complementary
#298172 #812964 #814629
monochromatic
#0B2420 #1A5349 #298172 #38AF9B #5ACBB7

Accessibility & contrast

On white

4.69
#298172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#298172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298172
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298172#FFFFFF#000000##FFFFFF
##2981721.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7971
Deuteranopia (green-blind)
#6F7073
Tritanopia (blue-blind)
#00837C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #298172;
/* rgb */ color: rgb(41, 129, 114);
/* oklch */ color: oklch(54.7% 0.086 179.3);
Tailwind
colors: {
  custom: {
    50: '#6fa69a',
    500: '#298172',
    950: '#000000',
  },
}
SCSS
$custom: #298172;
$custom-light: #6fa69a;
$custom-dark: #000000;
JSON
{
  "hex": "#298172",
  "rgb": {
    "r": 41,
    "g": 129,
    "b": 114
  },
  "hsl": {
    "h": 169.773,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54738,
    "c": 0.08559,
    "h": 179.3
  },
  "luminance": 0.17387
}

Semantic roles & 50–950 ramp

primary
#298172
secondary
#B05665
accent
#4D65DB
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #298172

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

Preview Lab → · Contrast checker → · Palette generator →

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