#227F6F#227F6F

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

Color values

HEX#227F6F
RGBrgb(34, 127, 111)
HSLhsl(170, 58%, 32%)
HSVhsv(170, 73%, 50%)
CMYKcmyk(73.2%, 0%, 12.6%, 50.2%)
CIE-LABlab(47.84, -30.63, 0.98)
CIE-LCHlch(47.84, 30.65, 178.17°)
OKLaboklab(53.92% -0.0881 0.0021)
OKLCHoklch(53.92% 0.088 178.6)
XYZxyz(11.1169, 16.6652, 17.6667)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F6F #7F2232
analogous
#227F41 #227F6F #22617F
triadic
#227F6F #6F227F #7F6F22
tetradic
#227F6F #41227F #7F2232 #617F22
square
#227F6F #41227F #7F2232 #617F22
split-complementary
#227F6F #7F2261 #7F4122
monochromatic
#081E1B #154F45 #227F6F #2FAF99 #4CCFB9

Accessibility & contrast

On white

4.85
#227F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#227F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F6F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F6F#FFFFFF#000000##FFFFFF
##227F6F1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A776E
Deuteranopia (green-blind)
#6D6E70
Tritanopia (blue-blind)
#00817A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227f6f;
/* rgb */ color: rgb(34, 127, 111);
/* oklch */ color: oklch(53.9% 0.088 178.6);
Tailwind
colors: {
  custom: {
    50: '#6ca498',
    500: '#227f6f',
    950: '#000000',
  },
}
SCSS
$custom: #227f6f;
$custom-light: #6ca498;
$custom-dark: #000000;
JSON
{
  "hex": "#227f6f",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 111
  },
  "hsl": {
    "h": 169.677,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53923,
    "c": 0.08817,
    "h": 178.6
  },
  "luminance": 0.16667
}

Semantic roles & 50–950 ramp

primary
#227F6F
secondary
#B24B5D
accent
#4761E1
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #227F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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