#227F5A#227F5A

#227F5A is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.3% C 0.104 H 162.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#227F5A
RGBrgb(34, 127, 90)
HSLhsl(156, 58%, 32%)
HSVhsv(156, 73%, 50%)
CMYKcmyk(73.2%, 0%, 29.1%, 50.2%)
CIE-LABlab(47.31, -36.11, 12.53)
CIE-LCHlch(47.31, 38.22, 160.86°)
OKLaboklab(53.32% -0.0988 0.0319)
OKLCHoklch(53.32% 0.104 162.1)
XYZxyz(10.0935, 16.2559, 12.2766)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F5A #7F2247
analogous
#227F2C #227F5A #22767F
triadic
#227F5A #5A227F #7F5A22
tetradic
#227F5A #2C227F #7F2247 #767F22
square
#227F5A #2C227F #7F2247 #767F22
split-complementary
#227F5A #7F2276 #7F2C22
monochromatic
#081E16 #154F38 #227F5A #2FAF7C #4CCF9B

Accessibility & contrast

On white

4.94
#227F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#227F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F5A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F5A#FFFFFF#000000##FFFFFF
##227F5A1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7558
Deuteranopia (green-blind)
#716D5C
Tritanopia (blue-blind)
#007F75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227f5a;
/* rgb */ color: rgb(34, 127, 90);
/* oklch */ color: oklch(53.3% 0.104 162.1);
Tailwind
colors: {
  custom: {
    50: '#6ba588',
    500: '#227f5a',
    950: '#000000',
  },
}
SCSS
$custom: #227f5a;
$custom-light: #6ba588;
$custom-dark: #000000;
JSON
{
  "hex": "#227f5a",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 90
  },
  "hsl": {
    "h": 156.129,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.1038,
    "h": 162.1
  },
  "luminance": 0.16257
}

Semantic roles & 50–950 ramp

primary
#227F5A
secondary
#B24B74
accent
#4784E1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #227F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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