#227F6A#227F6A

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

Color values

HEX#227F6A
RGBrgb(34, 127, 106)
HSLhsl(166, 58%, 32%)
HSVhsv(166, 73%, 50%)
CMYKcmyk(73.2%, 0%, 16.5%, 50.2%)
CIE-LABlab(47.70, -32.02, 3.72)
CIE-LCHlch(47.70, 32.23, 173.37°)
OKLaboklab(53.77% -0.0906 0.0094)
OKLCHoklch(53.77% 0.091 174.1)
XYZxyz(10.8493, 16.5582, 16.2571)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F6A #7F2237
analogous
#227F3C #227F6A #22667F
triadic
#227F6A #6A227F #7F6A22
tetradic
#227F6A #3C227F #7F2237 #667F22
square
#227F6A #3C227F #7F2237 #667F22
split-complementary
#227F6A #7F2266 #7F3C22
monochromatic
#081E19 #154F42 #227F6A #2FAF92 #4CCFB2

Accessibility & contrast

On white

4.87
#227F6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#227F6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F6A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F6A#FFFFFF#000000##FFFFFF
##227F6A1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7769
Deuteranopia (green-blind)
#6E6D6C
Tritanopia (blue-blind)
#008079
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227f6a;
/* rgb */ color: rgb(34, 127, 106);
/* oklch */ color: oklch(53.8% 0.091 174.1);
Tailwind
colors: {
  custom: {
    50: '#6ca594',
    500: '#227f6a',
    950: '#000000',
  },
}
SCSS
$custom: #227f6a;
$custom-light: #6ca594;
$custom-dark: #000000;
JSON
{
  "hex": "#227f6a",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 106
  },
  "hsl": {
    "h": 166.452,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53766,
    "c": 0.09112,
    "h": 174.1
  },
  "luminance": 0.16559
}

Semantic roles & 50–950 ramp

primary
#227F6A
secondary
#B24B62
accent
#476AE1
background
#F6FAF9
surface
#ECF4F1
border
#C7CECB
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #227F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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