#228D7E#228D7E

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

Color values

HEX#228D7E
RGBrgb(34, 141, 126)
HSLhsl(172, 61%, 34%)
HSVhsv(172, 76%, 55%)
CMYKcmyk(75.9%, 0%, 10.6%, 44.7%)
CIE-LABlab(52.83, -32.96, -0.49)
CIE-LCHlch(52.83, 32.97, 180.85°)
OKLaboklab(58.14% -0.0957 -0.0019)
OKLCHoklch(58.14% 0.096 181.1)
XYZxyz(13.9486, 20.8945, 23.0325)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D7E #8D2231
analogous
#228D49 #228D7E #22678D
triadic
#228D7E #7E228D #8D7E22
tetradic
#228D7E #49228D #8D2231 #678D22
square
#228D7E #49228D #8D2231 #678D22
split-complementary
#228D7E #8D2267 #8D4922
monochromatic
#0A2A26 #165C52 #228D7E #2EBEAA #54D6C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228D7E#FFFFFF#000000##000000
##228D7E1.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)
#86847D
Deuteranopia (green-blind)
#787A7F
Tritanopia (blue-blind)
#009088
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #228d7e;
/* rgb */ color: rgb(34, 141, 126);
/* oklch */ color: oklch(58.1% 0.096 181.1);
Tailwind
colors: {
  custom: {
    50: '#6fafa3',
    500: '#228d7e',
    950: '#000000',
  },
}
SCSS
$custom: #228d7e;
$custom-light: #6fafa3;
$custom-dark: #000000;
JSON
{
  "hex": "#228d7e",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 126
  },
  "hsl": {
    "h": 171.589,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58143,
    "c": 0.09573,
    "h": 181.1
  },
  "luminance": 0.20896
}

Semantic roles & 50–950 ramp

primary
#228D7E
secondary
#B95160
accent
#445AE4
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #228D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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