#227E51#227E51

#227E51 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 52.8% C 0.111 H 157.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#227E51
RGBrgb(34, 126, 81)
HSLhsl(151, 58%, 31%)
HSVhsv(151, 73%, 49%)
CMYKcmyk(73%, 0%, 35.7%, 50.6%)
CIE-LABlab(46.78, -37.73, 17.01)
CIE-LCHlch(46.78, 41.38, 155.73°)
OKLaboklab(52.82% -0.1023 0.0428)
OKLCHoklch(52.82% 0.111 157.3)
XYZxyz(9.6048, 15.8548, 10.3371)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E51 #7E224F
analogous
#227E23 #227E51 #227D7E
triadic
#227E51 #51227E #7E5122
tetradic
#227E51 #23227E #7E224F #7D7E22
square
#227E51 #23227E #7E224F #7D7E22
split-complementary
#227E51 #7E227D #7E2322
monochromatic
#081E13 #154E32 #227E51 #2FAE70 #4CCF8F

Accessibility & contrast

On white

5.03
#227E51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#227E51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E51
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E51#FFFFFF#000000##FFFFFF
##227E511.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D744E
Deuteranopia (green-blind)
#716C54
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227e51;
/* rgb */ color: rgb(34, 126, 81);
/* oklch */ color: oklch(52.8% 0.111 157.3);
Tailwind
colors: {
  custom: {
    50: '#6ba482',
    500: '#227e51',
    950: '#000000',
  },
}
SCSS
$custom: #227e51;
$custom-light: #6ba482;
$custom-dark: #000000;
JSON
{
  "hex": "#227e51",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 81
  },
  "hsl": {
    "h": 150.652,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52824,
    "c": 0.11087,
    "h": 157.3
  },
  "luminance": 0.15856
}

Semantic roles & 50–950 ramp

primary
#227E51
secondary
#B14B7D
accent
#4792E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227E51

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

Preview Lab → · Contrast checker → · Palette generator →

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