#227B5E#227B5E

#227B5E is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.3% C 0.095 H 166.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#227B5E
RGBrgb(34, 123, 94)
HSLhsl(160, 57%, 31%)
HSVhsv(160, 72%, 48%)
CMYKcmyk(72.4%, 0%, 23.6%, 51.8%)
CIE-LABlab(46.06, -33.35, 8.45)
CIE-LCHlch(46.06, 34.40, 165.79°)
OKLaboklab(52.32% -0.0924 0.0216)
OKLCHoklch(52.32% 0.095 166.8)
XYZxyz(9.7619, 15.3130, 13.0287)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B5E #7B223F
analogous
#227B31 #227B5E #226B7B
triadic
#227B5E #5E227B #7B5E22
tetradic
#227B5E #31227B #7B223F #6B7B22
square
#227B5E #31227B #7B223F #6B7B22
split-complementary
#227B5E #7B226B #7B3122
monochromatic
#071B15 #154B39 #227B5E #2FAB83 #4ACDA2

Accessibility & contrast

On white

5.17
#227B5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#227B5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B5E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B5E#FFFFFF#000000##FFFFFF
##227B5E1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725C
Deuteranopia (green-blind)
#6C6A60
Tritanopia (blue-blind)
#007B73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227b5e;
/* rgb */ color: rgb(34, 123, 94);
/* oklch */ color: oklch(52.3% 0.095 166.8);
Tailwind
colors: {
  custom: {
    50: '#6aa28b',
    500: '#227b5e',
    950: '#000000',
  },
}
SCSS
$custom: #227b5e;
$custom-light: #6aa28b;
$custom-dark: #000000;
JSON
{
  "hex": "#227b5e",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 94
  },
  "hsl": {
    "h": 160.449,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52324,
    "c": 0.09485,
    "h": 166.8
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

primary
#227B5E
secondary
#AE4B6B
accent
#4879E0
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #227B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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