#227C5D#227C5D

#227C5D is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.6% C 0.097 H 165.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#227C5D
RGBrgb(34, 124, 93)
HSLhsl(159, 57%, 31%)
HSVhsv(159, 73%, 49%)
CMYKcmyk(72.6%, 0%, 25%, 51.4%)
CIE-LABlab(46.37, -34.05, 9.47)
CIE-LCHlch(46.37, 35.34, 164.45°)
OKLaboklab(52.57% -0.094 0.0242)
OKLCHoklch(52.57% 0.097 165.6)
XYZxyz(9.8420, 15.5446, 12.8355)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C5D #7C2241
analogous
#227C30 #227C5D #226E7C
triadic
#227C5D #5D227C #7C5D22
tetradic
#227C5D #30227C #7C2241 #6E7C22
square
#227C5D #30227C #7C2241 #6E7C22
split-complementary
#227C5D #7C226E #7C3022
monochromatic
#081C15 #154C39 #227C5D #2FAC81 #4BCEA1

Accessibility & contrast

On white

5.11
#227C5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#227C5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C5D
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C5D#FFFFFF#000000##FFFFFF
##227C5D1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79735B
Deuteranopia (green-blind)
#6D6A5F
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227c5d;
/* rgb */ color: rgb(34, 124, 93);
/* oklch */ color: oklch(52.6% 0.097 165.6);
Tailwind
colors: {
  custom: {
    50: '#6aa28b',
    500: '#227c5d',
    950: '#000000',
  },
}
SCSS
$custom: #227c5d;
$custom-light: #6aa28b;
$custom-dark: #000000;
JSON
{
  "hex": "#227c5d",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 93
  },
  "hsl": {
    "h": 159.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52571,
    "c": 0.09704,
    "h": 165.6
  },
  "luminance": 0.15546
}

Semantic roles & 50–950 ramp

primary
#227C5D
secondary
#AF4B6D
accent
#487CE0
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #227C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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