#227F6D#227F6D

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

Color values

HEX#227F6D
RGBrgb(34, 127, 109)
HSLhsl(168, 58%, 32%)
HSVhsv(168, 73%, 50%)
CMYKcmyk(73.2%, 0%, 14.2%, 50.2%)
CIE-LABlab(47.78, -31.19, 2.07)
CIE-LCHlch(47.78, 31.26, 176.20°)
OKLaboklab(53.86% -0.0891 0.005)
OKLCHoklch(53.86% 0.089 176.8)
XYZxyz(11.0080, 16.6217, 17.0932)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F6D #7F2234
analogous
#227F3F #227F6D #22637F
triadic
#227F6D #6D227F #7F6D22
tetradic
#227F6D #3F227F #7F2234 #637F22
square
#227F6D #3F227F #7F2234 #637F22
split-complementary
#227F6D #7F2263 #7F3F22
monochromatic
#081E1A #154F44 #227F6D #2FAF96 #4CCFB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227F6D#FFFFFF#000000##FFFFFF
##227F6D1.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)
#7A776C
Deuteranopia (green-blind)
#6D6E6E
Tritanopia (blue-blind)
#00817A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227f6d;
/* rgb */ color: rgb(34, 127, 109);
/* oklch */ color: oklch(53.9% 0.089 176.8);
Tailwind
colors: {
  custom: {
    50: '#6ca596',
    500: '#227f6d',
    950: '#000000',
  },
}
SCSS
$custom: #227f6d;
$custom-light: #6ca596;
$custom-dark: #000000;
JSON
{
  "hex": "#227f6d",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 109
  },
  "hsl": {
    "h": 168.387,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53859,
    "c": 0.08928,
    "h": 176.8
  },
  "luminance": 0.16623
}

Semantic roles & 50–950 ramp

primary
#227F6D
secondary
#B24B5F
accent
#4765E1
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #227F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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