#227A6F#227A6F

#227A6F is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.6% C 0.083 H 183.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#227A6F
RGBrgb(34, 122, 111)
HSLhsl(173, 56%, 31%)
HSVhsv(173, 72%, 48%)
CMYKcmyk(72.1%, 0%, 9%, 52.2%)
CIE-LABlab(46.18, -28.22, -1.44)
CIE-LCHlch(46.18, 28.26, 182.91°)
OKLaboklab(52.58% -0.0827 -0.0043)
OKLCHoklch(52.58% 0.083 183)
XYZxyz(10.4871, 15.4056, 17.4567)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A6F #7A222D
analogous
#227A43 #227A6F #22597A
triadic
#227A6F #6F227A #7A6F22
tetradic
#227A6F #43227A #7A222D #597A22
square
#227A6F #43227A #7A222D #597A22
split-complementary
#227A6F #7A2259 #7A4322
monochromatic
#071A18 #154A43 #227A6F #2FAA9B #4ACDBC

Accessibility & contrast

On white

5.15
#227A6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#227A6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A6F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A6F#FFFFFF#000000##FFFFFF
##227A6F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74736F
Deuteranopia (green-blind)
#686A70
Tritanopia (blue-blind)
#007D77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227a6f;
/* rgb */ color: rgb(34, 122, 111);
/* oklch */ color: oklch(52.6% 0.083 183.0);
Tailwind
colors: {
  custom: {
    50: '#6ba198',
    500: '#227a6f',
    950: '#000000',
  },
}
SCSS
$custom: #227a6f;
$custom-light: #6ba198;
$custom-dark: #000000;
JSON
{
  "hex": "#227a6f",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 111
  },
  "hsl": {
    "h": 172.5,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52577,
    "c": 0.08277,
    "h": 183
  },
  "luminance": 0.15407
}

Semantic roles & 50–950 ramp

primary
#227A6F
secondary
#AD4B57
accent
#485BE0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #227A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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