#227C5B#227C5B

#227C5B is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.5% C 0.099 H 164.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#227C5B
RGBrgb(34, 124, 91)
HSLhsl(158, 57%, 31%)
HSVhsv(158, 73%, 49%)
CMYKcmyk(72.6%, 0%, 26.6%, 51.4%)
CIE-LABlab(46.32, -34.54, 10.58)
CIE-LCHlch(46.32, 36.13, 162.97°)
OKLaboklab(52.52% -0.095 0.027)
OKLCHoklch(52.52% 0.099 164.1)
XYZxyz(9.7546, 15.5096, 12.3751)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C5B #7C2243
analogous
#227C2E #227C5B #22707C
triadic
#227C5B #5B227C #7C5B22
tetradic
#227C5B #2E227C #7C2243 #707C22
square
#227C5B #2E227C #7C2243 #707C22
split-complementary
#227C5B #7C2270 #7C2E22
monochromatic
#081C15 #154C38 #227C5B #2FAC7E #4BCE9E

Accessibility & contrast

On white

5.12
#227C5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#227C5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C5B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C5B#FFFFFF#000000##FFFFFF
##227C5B1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7359
Deuteranopia (green-blind)
#6E6A5D
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227c5b;
/* rgb */ color: rgb(34, 124, 91);
/* oklch */ color: oklch(52.5% 0.099 164.1);
Tailwind
colors: {
  custom: {
    50: '#6aa289',
    500: '#227c5b',
    950: '#000000',
  },
}
SCSS
$custom: #227c5b;
$custom-light: #6aa289;
$custom-dark: #000000;
JSON
{
  "hex": "#227c5b",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 91
  },
  "hsl": {
    "h": 158,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52517,
    "c": 0.09876,
    "h": 164.1
  },
  "luminance": 0.15511
}

Semantic roles & 50–950 ramp

primary
#227C5B
secondary
#AF4B70
accent
#4880E0
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #227C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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