#227E5A#227E5A

#227E5A is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.0% C 0.102 H 162.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#227E5A
RGBrgb(34, 126, 90)
HSLhsl(157, 58%, 31%)
HSVhsv(157, 73%, 49%)
CMYKcmyk(73%, 0%, 28.6%, 50.6%)
CIE-LABlab(46.97, -35.67, 12.07)
CIE-LCHlch(46.97, 37.65, 161.31°)
OKLaboklab(53.04% -0.0977 0.0307)
OKLCHoklch(53.04% 0.102 162.5)
XYZxyz(9.9650, 15.9988, 12.2338)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E5A #7E2246
analogous
#227E2C #227E5A #22747E
triadic
#227E5A #5A227E #7E5A22
tetradic
#227E5A #2C227E #7E2246 #747E22
square
#227E5A #2C227E #7E2246 #747E22
split-complementary
#227E5A #7E2274 #7E2C22
monochromatic
#081E15 #154E38 #227E5A #2FAE7C #4CCF9B

Accessibility & contrast

On white

5.00
#227E5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#227E5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E5A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E5A#FFFFFF#000000##FFFFFF
##227E5A1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7458
Deuteranopia (green-blind)
#706C5C
Tritanopia (blue-blind)
#007E74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227e5a;
/* rgb */ color: rgb(34, 126, 90);
/* oklch */ color: oklch(53.0% 0.102 162.5);
Tailwind
colors: {
  custom: {
    50: '#6ba488',
    500: '#227e5a',
    950: '#000000',
  },
}
SCSS
$custom: #227e5a;
$custom-light: #6ba488;
$custom-dark: #000000;
JSON
{
  "hex": "#227e5a",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 90
  },
  "hsl": {
    "h": 156.522,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53042,
    "c": 0.10241,
    "h": 162.5
  },
  "luminance": 0.16
}

Semantic roles & 50–950 ramp

primary
#227E5A
secondary
#B14B73
accent
#4783E1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #227E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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