#228E7D#228E7D

#228E7D is a mid, moderate teal. Relative luminance 0.212; OKLCH L 58.4% C 0.097 H 179.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#228E7D
RGBrgb(34, 142, 125)
HSLhsl(171, 61%, 35%)
HSVhsv(171, 76%, 56%)
CMYKcmyk(76.1%, 0%, 12%, 44.3%)
CIE-LABlab(53.13, -33.71, 0.52)
CIE-LCHlch(53.13, 33.71, 179.11°)
OKLaboklab(58.38% -0.0972 0.0008)
OKLCHoklch(58.38% 0.097 179.5)
XYZxyz(14.0325, 21.1651, 22.7438)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E7D #8E2233
analogous
#228E47 #228E7D #22698E
triadic
#228E7D #7D228E #8E7D22
tetradic
#228E7D #47228E #8E2233 #698E22
square
#228E7D #47228E #8E2233 #698E22
split-complementary
#228E7D #8E2269 #8E4722
monochromatic
#0A2B26 #165D52 #228E7D #2EBFA8 #54D6C2

Accessibility & contrast

On white

4.01
#228E7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#228E7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E7D
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E7D#FFFFFF#000000##000000
##228E7D1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88857C
Deuteranopia (green-blind)
#797A7E
Tritanopia (blue-blind)
#009089
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #228e7d;
/* rgb */ color: rgb(34, 142, 125);
/* oklch */ color: oklch(58.4% 0.097 179.5);
Tailwind
colors: {
  custom: {
    50: '#70b0a2',
    500: '#228e7d',
    950: '#000000',
  },
}
SCSS
$custom: #228e7d;
$custom-light: #70b0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#228e7d",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 125
  },
  "hsl": {
    "h": 170.556,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58375,
    "c": 0.09725,
    "h": 179.5
  },
  "luminance": 0.21167
}

Semantic roles & 50–950 ramp

primary
#228E7D
secondary
#BA5262
accent
#435DE4
background
#F7FAF9
surface
#EDF5F2
border
#C8CFCC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #228E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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