#228F7E#228F7E

#228F7E is a mid, moderate teal. Relative luminance 0.215; OKLCH L 58.7% C 0.098 H 179.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#228F7E
RGBrgb(34, 143, 126)
HSLhsl(171, 62%, 35%)
HSVhsv(171, 76%, 56%)
CMYKcmyk(76.2%, 0%, 11.9%, 43.9%)
CIE-LABlab(53.48, -33.89, 0.46)
CIE-LCHlch(53.48, 33.89, 179.23°)
OKLaboklab(58.67% -0.0978 0.0007)
OKLCHoklch(58.67% 0.098 179.6)
XYZxyz(14.2462, 21.4896, 23.1317)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F7E #8F2233
analogous
#228F47 #228F7E #226A8F
triadic
#228F7E #7E228F #8F7E22
tetradic
#228F7E #47228F #8F2233 #6A8F22
square
#228F7E #47228F #8F2233 #6A8F22
split-complementary
#228F7E #8F226A #8F4722
monochromatic
#0A2C27 #165E52 #228F7E #2EC0AA #55D7C2

Accessibility & contrast

On white

3.96
#228F7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#228F7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F7E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F7E#FFFFFF#000000##000000
##228F7E1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867D
Deuteranopia (green-blind)
#7A7B7F
Tritanopia (blue-blind)
#00918A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #228f7e;
/* rgb */ color: rgb(34, 143, 126);
/* oklch */ color: oklch(58.7% 0.098 179.6);
Tailwind
colors: {
  custom: {
    50: '#70b0a3',
    500: '#228f7e',
    950: '#000000',
  },
}
SCSS
$custom: #228f7e;
$custom-light: #70b0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#228f7e",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 126
  },
  "hsl": {
    "h": 170.642,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58671,
    "c": 0.09781,
    "h": 179.6
  },
  "luminance": 0.21491
}

Semantic roles & 50–950 ramp

primary
#228F7E
secondary
#BA5263
accent
#435CE5
background
#F7FAFA
surface
#EDF5F3
border
#C8CFCD
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #228F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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