#227A7F#227A7F

#227A7F is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.2% C 0.080 H 200.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#227A7F
RGBrgb(34, 122, 127)
HSLhsl(183, 58%, 32%)
HSVhsv(183, 73%, 50%)
CMYKcmyk(73.2%, 3.9%, 0%, 50.2%)
CIE-LABlab(46.70, -23.32, -10.18)
CIE-LCHlch(46.70, 25.44, 203.57°)
OKLaboklab(53.16% -0.075 -0.0282)
OKLCHoklch(53.16% 0.08 200.6)
XYZxyz(11.4483, 15.7901, 22.5190)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A7F #7F2722
analogous
#227F56 #227A7F #224C7F
triadic
#227A7F #7F227A #7A7F22
tetradic
#227A7F #56227F #7F2722 #4C7F22
square
#227A7F #56227F #7F2722 #4C7F22
split-complementary
#227A7F #7F224C #7F5622
monochromatic
#081D1E #154C4F #227A7F #2FA8AF #4CC8CF

Accessibility & contrast

On white

5.05
#227A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#227A7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A7F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A7F#FFFFFF#000000##FFFFFF
##227A7F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71747F
Deuteranopia (green-blind)
#636A7F
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227a7f;
/* rgb */ color: rgb(34, 122, 127);
/* oklch */ color: oklch(53.2% 0.080 200.6);
Tailwind
colors: {
  custom: {
    50: '#6da1a4',
    500: '#227a7f',
    950: '#000000',
  },
}
SCSS
$custom: #227a7f;
$custom-light: #6da1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#227a7f",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 127
  },
  "hsl": {
    "h": 183.226,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53164,
    "c": 0.08014,
    "h": 200.6
  },
  "luminance": 0.15791
}

Semantic roles & 50–950 ramp

primary
#227A7F
secondary
#B2514B
accent
#4F47E1
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F0F
muted
#7B7E7F

Preview Lab

Preview with #227A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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