#227E5C#227E5C

#227E5C is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.1% C 0.101 H 163.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#227E5C
RGBrgb(34, 126, 92)
HSLhsl(158, 58%, 31%)
HSVhsv(158, 73%, 49%)
CMYKcmyk(73%, 0%, 27%, 50.6%)
CIE-LABlab(47.02, -35.19, 10.96)
CIE-LCHlch(47.02, 36.85, 162.69°)
OKLaboklab(53.09% -0.0967 0.028)
OKLCHoklch(53.09% 0.101 163.9)
XYZxyz(10.0512, 16.0333, 12.6882)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E5C #7E2244
analogous
#227E2E #227E5C #22727E
triadic
#227E5C #5C227E #7E5C22
tetradic
#227E5C #2E227E #7E2244 #727E22
square
#227E5C #2E227E #7E2244 #727E22
split-complementary
#227E5C #7E2272 #7E2E22
monochromatic
#081E16 #154E39 #227E5C #2FAE7F #4CCF9E

Accessibility & contrast

On white

4.99
#227E5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#227E5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E5C
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E5C#FFFFFF#000000##FFFFFF
##227E5C1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C755A
Deuteranopia (green-blind)
#706C5E
Tritanopia (blue-blind)
#007E75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227e5c;
/* rgb */ color: rgb(34, 126, 92);
/* oklch */ color: oklch(53.1% 0.101 163.9);
Tailwind
colors: {
  custom: {
    50: '#6ba48a',
    500: '#227e5c',
    950: '#000000',
  },
}
SCSS
$custom: #227e5c;
$custom-light: #6ba48a;
$custom-dark: #000000;
JSON
{
  "hex": "#227e5c",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 92
  },
  "hsl": {
    "h": 157.826,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53094,
    "c": 0.10064,
    "h": 163.9
  },
  "luminance": 0.16034
}

Semantic roles & 50–950 ramp

primary
#227E5C
secondary
#B14B71
accent
#4780E1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #227E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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