#228172#228172

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

Color values

HEX#228172
RGBrgb(34, 129, 114)
HSLhsl(171, 58%, 32%)
HSVhsv(171, 74%, 51%)
CMYKcmyk(73.6%, 0%, 11.6%, 49.4%)
CIE-LABlab(48.58, -30.73, 0.29)
CIE-LCHlch(48.58, 30.73, 179.45°)
OKLaboklab(54.56% -0.0888 0.0003)
OKLCHoklch(54.56% 0.089 179.8)
XYZxyz(11.5457, 17.2541, 18.6382)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228172 #812231
analogous
#228143 #228172 #226181
triadic
#228172 #722281 #817222
tetradic
#228172 #432281 #812231 #618122
square
#228172 #432281 #812231 #618122
split-complementary
#228172 #812261 #814322
monochromatic
#08201C #155147 #228172 #2FB19D #4DD0BB

Accessibility & contrast

On white

4.72
#228172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#228172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228172
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228172#FFFFFF#000000##FFFFFF
##2281721.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7971
Deuteranopia (green-blind)
#6E6F73
Tritanopia (blue-blind)
#00837C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228172;
/* rgb */ color: rgb(34, 129, 114);
/* oklch */ color: oklch(54.6% 0.089 179.8);
Tailwind
colors: {
  custom: {
    50: '#6ca69a',
    500: '#228172',
    950: '#000000',
  },
}
SCSS
$custom: #228172;
$custom-light: #6ca69a;
$custom-dark: #000000;
JSON
{
  "hex": "#228172",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 114
  },
  "hsl": {
    "h": 170.526,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54558,
    "c": 0.08882,
    "h": 179.8
  },
  "luminance": 0.17256
}

Semantic roles & 50–950 ramp

primary
#228172
secondary
#B34B5C
accent
#465FE1
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #228172

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

Preview Lab → · Contrast checker → · Palette generator →

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