#227A56#227A56

#227A56 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.8% C 0.100 H 161.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#227A56
RGBrgb(34, 122, 86)
HSLhsl(155, 56%, 31%)
HSVhsv(155, 72%, 48%)
CMYKcmyk(72.1%, 0%, 29.5%, 52.2%)
CIE-LABlab(45.54, -34.87, 12.41)
CIE-LCHlch(45.54, 37.01, 160.41°)
OKLaboklab(51.84% -0.0954 0.0316)
OKLCHoklch(51.84% 0.1 161.7)
XYZxyz(9.2980, 14.9300, 11.1940)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A56 #7A2246
analogous
#227A2A #227A56 #22727A
triadic
#227A56 #56227A #7A5622
tetradic
#227A56 #2A227A #7A2246 #727A22
square
#227A56 #2A227A #7A2246 #727A22
split-complementary
#227A56 #7A2272 #7A2A22
monochromatic
#071A13 #154A34 #227A56 #2FAA78 #4ACD97

Accessibility & contrast

On white

5.27
#227A56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#227A56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A56
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A56#FFFFFF#000000##FFFFFF
##227A561.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787154
Deuteranopia (green-blind)
#6D6858
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227a56;
/* rgb */ color: rgb(34, 122, 86);
/* oklch */ color: oklch(51.8% 0.100 161.7);
Tailwind
colors: {
  custom: {
    50: '#6aa185',
    500: '#227a56',
    950: '#000000',
  },
}
SCSS
$custom: #227a56;
$custom-light: #6aa185;
$custom-dark: #000000;
JSON
{
  "hex": "#227a56",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 86
  },
  "hsl": {
    "h": 155.455,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51835,
    "c": 0.10045,
    "h": 161.7
  },
  "luminance": 0.14931
}

Semantic roles & 50–950 ramp

primary
#227A56
secondary
#AD4B73
accent
#4886E0
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #227A56

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

Preview Lab → · Contrast checker → · Palette generator →

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