#228D7D#228D7D

#228D7D is a mid, moderate teal. Relative luminance 0.209; OKLCH L 58.1% C 0.096 H 180.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#228D7D
RGBrgb(34, 141, 125)
HSLhsl(171, 61%, 34%)
HSVhsv(171, 76%, 55%)
CMYKcmyk(75.9%, 0%, 11.3%, 44.7%)
CIE-LABlab(52.81, -33.25, 0.05)
CIE-LCHlch(52.81, 33.25, 179.92°)
OKLaboklab(58.11% -0.0962 -0.0004)
OKLCHoklch(58.11% 0.096 180.3)
XYZxyz(13.8844, 20.8688, 22.6944)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D7D #8D2232
analogous
#228D48 #228D7D #22688D
triadic
#228D7D #7D228D #8D7D22
tetradic
#228D7D #48228D #8D2232 #688D22
square
#228D7D #48228D #8D2232 #688D22
split-complementary
#228D7D #8D2268 #8D4822
monochromatic
#0A2A26 #165C51 #228D7D #2EBEA9 #54D6C2

Accessibility & contrast

On white

4.06
#228D7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#228D7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D7D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D7D#FFFFFF#000000##000000
##228D7D1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87847C
Deuteranopia (green-blind)
#787A7E
Tritanopia (blue-blind)
#009088
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #228d7d;
/* rgb */ color: rgb(34, 141, 125);
/* oklch */ color: oklch(58.1% 0.096 180.3);
Tailwind
colors: {
  custom: {
    50: '#6fafa2',
    500: '#228d7d',
    950: '#000000',
  },
}
SCSS
$custom: #228d7d;
$custom-light: #6fafa2;
$custom-dark: #000000;
JSON
{
  "hex": "#228d7d",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 125
  },
  "hsl": {
    "h": 171.028,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5811,
    "c": 0.0962,
    "h": 180.3
  },
  "luminance": 0.20871
}

Semantic roles & 50–950 ramp

primary
#228D7D
secondary
#B95161
accent
#445CE4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #228D7D

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

Preview Lab → · Contrast checker → · Palette generator →

#228D7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva