#227E71#227E71

#227E71 is a mid, moderate teal. Relative luminance 0.165; OKLCH L 53.7% C 0.086 H 181.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#227E71
RGBrgb(34, 126, 113)
HSLhsl(172, 58%, 31%)
HSVhsv(172, 73%, 49%)
CMYKcmyk(73%, 0%, 10.3%, 50.6%)
CIE-LABlab(47.56, -29.58, -0.60)
CIE-LCHlch(47.56, 29.59, 181.16°)
OKLaboklab(53.72% -0.086 -0.0021)
OKLCHoklch(53.72% 0.086 181.4)
XYZxyz(11.0997, 16.4528, 18.2103)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E71 #7E222F
analogous
#227E43 #227E71 #225D7E
triadic
#227E71 #71227E #7E7122
tetradic
#227E71 #43227E #7E222F #5D7E22
square
#227E71 #43227E #7E222F #5D7E22
split-complementary
#227E71 #7E225D #7E4322
monochromatic
#081E1B #154E46 #227E71 #2FAE9C #4CCFBC

Accessibility & contrast

On white

4.89
#227E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#227E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E71
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E71#FFFFFF#000000##FFFFFF
##227E711.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787671
Deuteranopia (green-blind)
#6B6D72
Tritanopia (blue-blind)
#00807A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227e71;
/* rgb */ color: rgb(34, 126, 113);
/* oklch */ color: oklch(53.7% 0.086 181.4);
Tailwind
colors: {
  custom: {
    50: '#6ca499',
    500: '#227e71',
    950: '#000000',
  },
}
SCSS
$custom: #227e71;
$custom-light: #6ca499;
$custom-dark: #000000;
JSON
{
  "hex": "#227e71",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 113
  },
  "hsl": {
    "h": 171.522,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5372,
    "c": 0.08608,
    "h": 181.4
  },
  "luminance": 0.16454
}

Semantic roles & 50–950 ramp

primary
#227E71
secondary
#B14B5A
accent
#475DE1
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #227E71

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

Preview Lab → · Contrast checker → · Palette generator →

#227E71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva