#227F70#227F70

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

Color values

HEX#227F70
RGBrgb(34, 127, 112)
HSLhsl(170, 58%, 32%)
HSVhsv(170, 73%, 50%)
CMYKcmyk(73.2%, 0%, 11.8%, 50.2%)
CIE-LABlab(47.86, -30.35, 0.43)
CIE-LCHlch(47.86, 30.35, 179.19°)
OKLaboklab(53.96% -0.0876 0.0006)
OKLCHoklch(53.96% 0.088 179.6)
XYZxyz(11.1723, 16.6874, 17.9583)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F70 #7F2231
analogous
#227F42 #227F70 #22607F
triadic
#227F70 #70227F #7F7022
tetradic
#227F70 #42227F #7F2231 #607F22
square
#227F70 #42227F #7F2231 #607F22
split-complementary
#227F70 #7F2260 #7F4222
monochromatic
#081E1B #154F45 #227F70 #2FAF9B #4CCFBA

Accessibility & contrast

On white

4.84
#227F70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#227F70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F70
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F70#FFFFFF#000000##FFFFFF
##227F701.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79776F
Deuteranopia (green-blind)
#6D6E71
Tritanopia (blue-blind)
#00817A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227f70;
/* rgb */ color: rgb(34, 127, 112);
/* oklch */ color: oklch(54.0% 0.088 179.6);
Tailwind
colors: {
  custom: {
    50: '#6ca499',
    500: '#227f70',
    950: '#000000',
  },
}
SCSS
$custom: #227f70;
$custom-light: #6ca499;
$custom-dark: #000000;
JSON
{
  "hex": "#227f70",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 112
  },
  "hsl": {
    "h": 170.323,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53955,
    "c": 0.08764,
    "h": 179.6
  },
  "luminance": 0.16689
}

Semantic roles & 50–950 ramp

primary
#227F70
secondary
#B24B5C
accent
#4760E1
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #227F70

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

Preview Lab → · Contrast checker → · Palette generator →

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