#227F6C#227F6C

#227F6C is a mid, moderate teal. Relative luminance 0.166; OKLCH L 53.8% C 0.090 H 175.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#227F6C
RGBrgb(34, 127, 108)
HSLhsl(168, 58%, 32%)
HSVhsv(168, 73%, 50%)
CMYKcmyk(73.2%, 0%, 15%, 50.2%)
CIE-LABlab(47.75, -31.47, 2.62)
CIE-LCHlch(47.75, 31.58, 175.23°)
OKLaboklab(53.83% -0.0896 0.0065)
OKLCHoklch(53.83% 0.09 175.9)
XYZxyz(10.9545, 16.6003, 16.8113)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F6C #7F2235
analogous
#227F3E #227F6C #22647F
triadic
#227F6C #6C227F #7F6C22
tetradic
#227F6C #3E227F #7F2235 #647F22
square
#227F6C #3E227F #7F2235 #647F22
split-complementary
#227F6C #7F2264 #7F3E22
monochromatic
#081E1A #154F43 #227F6C #2FAF95 #4CCFB4

Accessibility & contrast

On white

4.86
#227F6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#227F6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F6C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F6C#FFFFFF#000000##FFFFFF
##227F6C1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A776B
Deuteranopia (green-blind)
#6D6D6D
Tritanopia (blue-blind)
#008179
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227f6c;
/* rgb */ color: rgb(34, 127, 108);
/* oklch */ color: oklch(53.8% 0.090 175.9);
Tailwind
colors: {
  custom: {
    50: '#6ca596',
    500: '#227f6c',
    950: '#000000',
  },
}
SCSS
$custom: #227f6c;
$custom-light: #6ca596;
$custom-dark: #000000;
JSON
{
  "hex": "#227f6c",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 108
  },
  "hsl": {
    "h": 167.742,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53828,
    "c": 0.08987,
    "h": 175.9
  },
  "luminance": 0.16602
}

Semantic roles & 50–950 ramp

primary
#227F6C
secondary
#B24B60
accent
#4766E1
background
#F6FAF9
surface
#ECF4F1
border
#C7CECB
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #227F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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