#228D7F#228D7F

#228D7F is a mid, moderate teal. Relative luminance 0.209; OKLCH L 58.2% C 0.095 H 182.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#228D7F
RGBrgb(34, 141, 127)
HSLhsl(172, 61%, 34%)
HSVhsv(172, 76%, 55%)
CMYKcmyk(75.9%, 0%, 9.9%, 44.7%)
CIE-LABlab(52.86, -32.68, -1.03)
CIE-LCHlch(52.86, 32.69, 181.80°)
OKLaboklab(58.18% -0.0952 -0.0033)
OKLCHoklch(58.18% 0.095 182)
XYZxyz(14.0135, 20.9205, 23.3740)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D7F #8D2230
analogous
#228D4A #228D7F #22668D
triadic
#228D7F #7F228D #8D7F22
tetradic
#228D7F #4A228D #8D2230 #668D22
square
#228D7F #4A228D #8D2230 #668D22
split-complementary
#228D7F #8D2266 #8D4A22
monochromatic
#0A2A26 #165C53 #228D7F #2EBEAB #54D6C5

Accessibility & contrast

On white

4.05
#228D7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#228D7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D7F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D7F#FFFFFF#000000##000000
##228D7F1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86847E
Deuteranopia (green-blind)
#787A80
Tritanopia (blue-blind)
#009089
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #228d7f;
/* rgb */ color: rgb(34, 141, 127);
/* oklch */ color: oklch(58.2% 0.095 182.0);
Tailwind
colors: {
  custom: {
    50: '#6fafa4',
    500: '#228d7f',
    950: '#000000',
  },
}
SCSS
$custom: #228d7f;
$custom-light: #6fafa4;
$custom-dark: #000000;
JSON
{
  "hex": "#228d7f",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 127
  },
  "hsl": {
    "h": 172.15,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58175,
    "c": 0.09529,
    "h": 182
  },
  "luminance": 0.20922
}

Semantic roles & 50–950 ramp

primary
#228D7F
secondary
#B9515F
accent
#4459E4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #228D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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