#228E7B#228E7B

#228E7B is a mid, moderate teal. Relative luminance 0.211; OKLCH L 58.3% C 0.098 H 177.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#228E7B
RGBrgb(34, 142, 123)
HSLhsl(169, 61%, 35%)
HSVhsv(169, 76%, 56%)
CMYKcmyk(76.1%, 0%, 13.4%, 44.3%)
CIE-LABlab(53.07, -34.27, 1.60)
CIE-LCHlch(53.07, 34.31, 177.33°)
OKLaboklab(58.31% -0.0982 0.0037)
OKLCHoklch(58.31% 0.098 177.8)
XYZxyz(13.9060, 21.1145, 22.0777)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E7B #8E2235
analogous
#228E45 #228E7B #226B8E
triadic
#228E7B #7B228E #8E7B22
tetradic
#228E7B #45228E #8E2235 #6B8E22
square
#228E7B #45228E #8E2235 #6B8E22
split-complementary
#228E7B #8E226B #8E4522
monochromatic
#0A2B25 #165D50 #228E7B #2EBFA6 #54D6BF

Accessibility & contrast

On white

4.02
#228E7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#228E7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E7B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E7B#FFFFFF#000000##000000
##228E7B1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88857A
Deuteranopia (green-blind)
#7A7A7D
Tritanopia (blue-blind)
#009088
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #228e7b;
/* rgb */ color: rgb(34, 142, 123);
/* oklch */ color: oklch(58.3% 0.098 177.8);
Tailwind
colors: {
  custom: {
    50: '#6fb0a1',
    500: '#228e7b',
    950: '#000000',
  },
}
SCSS
$custom: #228e7b;
$custom-light: #6fb0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#228e7b",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 123
  },
  "hsl": {
    "h": 169.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58311,
    "c": 0.0983,
    "h": 177.8
  },
  "luminance": 0.21116
}

Semantic roles & 50–950 ramp

primary
#228E7B
secondary
#BA5264
accent
#4360E4
background
#F7FAF9
surface
#EDF5F2
border
#C8CFCC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #228E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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