#228173#228173

#228173 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.6% C 0.088 H 180.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#228173
RGBrgb(34, 129, 115)
HSLhsl(171, 58%, 32%)
HSVhsv(171, 74%, 51%)
CMYKcmyk(73.6%, 0%, 10.9%, 49.4%)
CIE-LABlab(48.61, -30.44, -0.25)
CIE-LCHlch(48.61, 30.45, 180.47°)
OKLaboklab(54.59% -0.0883 -0.0012)
OKLCHoklch(54.59% 0.088 180.8)
XYZxyz(11.6029, 17.2770, 18.9396)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228173 #812230
analogous
#228144 #228173 #226081
triadic
#228173 #732281 #817322
tetradic
#228173 #442281 #812230 #608122
square
#228173 #442281 #812230 #608122
split-complementary
#228173 #812260 #814422
monochromatic
#08201D #155148 #228173 #2FB19E #4DD0BD

Accessibility & contrast

On white

4.71
#228173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#228173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228173
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228173#FFFFFF#000000##FFFFFF
##2281731.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7972
Deuteranopia (green-blind)
#6E6F74
Tritanopia (blue-blind)
#00837D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228173;
/* rgb */ color: rgb(34, 129, 115);
/* oklch */ color: oklch(54.6% 0.088 180.8);
Tailwind
colors: {
  custom: {
    50: '#6da69b',
    500: '#228173',
    950: '#000000',
  },
}
SCSS
$custom: #228173;
$custom-light: #6da69b;
$custom-dark: #000000;
JSON
{
  "hex": "#228173",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 115
  },
  "hsl": {
    "h": 171.158,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5459,
    "c": 0.08833,
    "h": 180.8
  },
  "luminance": 0.17278
}

Semantic roles & 50–950 ramp

primary
#228173
secondary
#B34B5B
accent
#465DE1
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #228173

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

Preview Lab → · Contrast checker → · Palette generator →

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