#228E7F#228E7F

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

Color values

HEX#228E7F
RGBrgb(34, 142, 127)
HSLhsl(172, 61%, 35%)
HSVhsv(172, 76%, 56%)
CMYKcmyk(76.1%, 0%, 10.6%, 44.3%)
CIE-LABlab(53.19, -33.14, -0.55)
CIE-LCHlch(53.19, 33.15, 180.95°)
OKLaboklab(58.44% -0.0963 -0.002)
OKLCHoklch(58.44% 0.096 181.2)
XYZxyz(14.1616, 21.2167, 23.4234)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E7F #8E2231
analogous
#228E49 #228E7F #22678E
triadic
#228E7F #7F228E #8E7F22
tetradic
#228E7F #49228E #8E2231 #678E22
square
#228E7F #49228E #8E2231 #678E22
split-complementary
#228E7F #8E2267 #8E4922
monochromatic
#0A2B27 #165D53 #228E7F #2EBFAB #54D6C4

Accessibility & contrast

On white

4.00
#228E7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#228E7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E7F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E7F#FFFFFF#000000##000000
##228E7F1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87857E
Deuteranopia (green-blind)
#797B80
Tritanopia (blue-blind)
#009189
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #228e7f;
/* rgb */ color: rgb(34, 142, 127);
/* oklch */ color: oklch(58.4% 0.096 181.2);
Tailwind
colors: {
  custom: {
    50: '#70afa4',
    500: '#228e7f',
    950: '#000000',
  },
}
SCSS
$custom: #228e7f;
$custom-light: #70afa4;
$custom-dark: #000000;
JSON
{
  "hex": "#228e7f",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 127
  },
  "hsl": {
    "h": 171.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58439,
    "c": 0.09629,
    "h": 181.2
  },
  "luminance": 0.21218
}

Semantic roles & 50–950 ramp

primary
#228E7F
secondary
#BA5260
accent
#435AE4
background
#F7FAFA
surface
#EDF5F4
border
#C8CFCE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #228E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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