#228F7F#228F7F

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

Color values

HEX#228F7F
RGBrgb(34, 143, 127)
HSLhsl(171, 62%, 35%)
HSVhsv(171, 76%, 56%)
CMYKcmyk(76.2%, 0%, 11.2%, 43.9%)
CIE-LABlab(53.51, -33.61, -0.08)
CIE-LCHlch(53.51, 33.61, 180.13°)
OKLaboklab(58.7% -0.0973 -0.0008)
OKLCHoklch(58.7% 0.097 180.5)
XYZxyz(14.3110, 21.5156, 23.4732)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F7F #8F2232
analogous
#228F49 #228F7F #22688F
triadic
#228F7F #7F228F #8F7F22
tetradic
#228F7F #49228F #8F2232 #688F22
square
#228F7F #49228F #8F2232 #688F22
split-complementary
#228F7F #8F2268 #8F4922
monochromatic
#0A2C27 #165E53 #228F7F #2EC0AB #55D7C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228F7F#FFFFFF#000000##000000
##228F7F1.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)
#88867E
Deuteranopia (green-blind)
#7A7B80
Tritanopia (blue-blind)
#00928A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #228f7f;
/* rgb */ color: rgb(34, 143, 127);
/* oklch */ color: oklch(58.7% 0.097 180.5);
Tailwind
colors: {
  custom: {
    50: '#70b0a4',
    500: '#228f7f',
    950: '#000000',
  },
}
SCSS
$custom: #228f7f;
$custom-light: #70b0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#228f7f",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 127
  },
  "hsl": {
    "h": 171.193,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58703,
    "c": 0.09732,
    "h": 180.5
  },
  "luminance": 0.21517
}

Semantic roles & 50–950 ramp

primary
#228F7F
secondary
#BA5262
accent
#435BE5
background
#F7FAFA
surface
#EDF5F4
border
#C8CFCE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #228F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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