#227F5B#227F5B

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

Color values

HEX#227F5B
RGBrgb(34, 127, 91)
HSLhsl(157, 58%, 32%)
HSVhsv(157, 73%, 50%)
CMYKcmyk(73.2%, 0%, 28.3%, 50.2%)
CIE-LABlab(47.33, -35.87, 11.98)
CIE-LCHlch(47.33, 37.81, 161.53°)
OKLaboklab(53.34% -0.0983 0.0305)
OKLCHoklch(53.34% 0.103 162.7)
XYZxyz(10.1363, 16.2730, 12.5023)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F5B #7F2246
analogous
#227F2D #227F5B #22757F
triadic
#227F5B #5B227F #7F5B22
tetradic
#227F5B #2D227F #7F2246 #757F22
square
#227F5B #2D227F #7F2246 #757F22
split-complementary
#227F5B #7F2275 #7F2D22
monochromatic
#081E16 #154F38 #227F5B #2FAF7E #4CCF9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227F5B#FFFFFF#000000##FFFFFF
##227F5B1.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)
#7D7559
Deuteranopia (green-blind)
#716D5D
Tritanopia (blue-blind)
#007F75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227f5b;
/* rgb */ color: rgb(34, 127, 91);
/* oklch */ color: oklch(53.3% 0.103 162.7);
Tailwind
colors: {
  custom: {
    50: '#6ba589',
    500: '#227f5b',
    950: '#000000',
  },
}
SCSS
$custom: #227f5b;
$custom-light: #6ba589;
$custom-dark: #000000;
JSON
{
  "hex": "#227f5b",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 91
  },
  "hsl": {
    "h": 156.774,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53343,
    "c": 0.1029,
    "h": 162.7
  },
  "luminance": 0.16274
}

Semantic roles & 50–950 ramp

primary
#227F5B
secondary
#B24B73
accent
#4782E1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #227F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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