#227F72#227F72

#227F72 is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.0% C 0.087 H 181.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#227F72
RGBrgb(34, 127, 114)
HSLhsl(172, 58%, 32%)
HSVhsv(172, 73%, 50%)
CMYKcmyk(73.2%, 0%, 10.2%, 50.2%)
CIE-LABlab(47.92, -29.77, -0.67)
CIE-LCHlch(47.92, 29.78, 181.28°)
OKLaboklab(54.02% -0.0866 -0.0023)
OKLCHoklch(54.02% 0.087 181.5)
XYZxyz(11.2849, 16.7324, 18.5513)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F72 #7F222F
analogous
#227F44 #227F72 #225E7F
triadic
#227F72 #72227F #7F7222
tetradic
#227F72 #44227F #7F222F #5E7F22
square
#227F72 #44227F #7F222F #5E7F22
split-complementary
#227F72 #7F225E #7F4422
monochromatic
#081E1B #154F47 #227F72 #2FAF9D #4CCFBD

Accessibility & contrast

On white

4.83
#227F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#227F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F72
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F72#FFFFFF#000000##FFFFFF
##227F721.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797772
Deuteranopia (green-blind)
#6C6E73
Tritanopia (blue-blind)
#00817B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227f72;
/* rgb */ color: rgb(34, 127, 114);
/* oklch */ color: oklch(54.0% 0.087 181.5);
Tailwind
colors: {
  custom: {
    50: '#6ca49a',
    500: '#227f72',
    950: '#000000',
  },
}
SCSS
$custom: #227f72;
$custom-light: #6ca49a;
$custom-dark: #000000;
JSON
{
  "hex": "#227f72",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 114
  },
  "hsl": {
    "h": 171.613,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.08668,
    "h": 181.5
  },
  "luminance": 0.16734
}

Semantic roles & 50–950 ramp

primary
#227F72
secondary
#B24B5A
accent
#475CE1
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #227F72

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

Preview Lab → · Contrast checker → · Palette generator →

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