#227B56#227B56

#227B56 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.1% C 0.102 H 161.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#227B56
RGBrgb(34, 123, 86)
HSLhsl(155, 57%, 31%)
HSVhsv(155, 72%, 48%)
CMYKcmyk(72.4%, 0%, 30.1%, 51.8%)
CIE-LABlab(45.88, -35.30, 12.87)
CIE-LCHlch(45.88, 37.58, 159.96°)
OKLaboklab(52.11% -0.0965 0.0327)
OKLCHoklch(52.11% 0.102 161.3)
XYZxyz(9.4214, 15.1768, 11.2352)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B56 #7B2247
analogous
#227B29 #227B56 #22737B
triadic
#227B56 #56227B #7B5622
tetradic
#227B56 #29227B #7B2247 #737B22
square
#227B56 #29227B #7B2247 #737B22
split-complementary
#227B56 #7B2273 #7B2922
monochromatic
#071B13 #154B34 #227B56 #2FAB78 #4ACD97

Accessibility & contrast

On white

5.20
#227B56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#227B56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B56
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B56#FFFFFF#000000##FFFFFF
##227B561.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797254
Deuteranopia (green-blind)
#6E6958
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227b56;
/* rgb */ color: rgb(34, 123, 86);
/* oklch */ color: oklch(52.1% 0.102 161.3);
Tailwind
colors: {
  custom: {
    50: '#6aa285',
    500: '#227b56',
    950: '#000000',
  },
}
SCSS
$custom: #227b56;
$custom-light: #6aa285;
$custom-dark: #000000;
JSON
{
  "hex": "#227b56",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 86
  },
  "hsl": {
    "h": 155.056,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.10186,
    "h": 161.3
  },
  "luminance": 0.15178
}

Semantic roles & 50–950 ramp

primary
#227B56
secondary
#AE4B74
accent
#4887E0
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #227B56

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

Preview Lab → · Contrast checker → · Palette generator →

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