#227A57#227A57

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

Color values

HEX#227A57
RGBrgb(34, 122, 87)
HSLhsl(156, 56%, 31%)
HSVhsv(156, 72%, 48%)
CMYKcmyk(72.1%, 0%, 28.7%, 52.2%)
CIE-LABlab(45.56, -34.63, 11.85)
CIE-LCHlch(45.56, 36.60, 161.10°)
OKLaboklab(51.86% -0.0948 0.0302)
OKLCHoklch(51.86% 0.1 162.3)
XYZxyz(9.3385, 14.9462, 11.4077)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A57 #7A2245
analogous
#227A2B #227A57 #22717A
triadic
#227A57 #57227A #7A5722
tetradic
#227A57 #2B227A #7A2245 #717A22
square
#227A57 #2B227A #7A2245 #717A22
split-complementary
#227A57 #7A2271 #7A2B22
monochromatic
#071A13 #154A35 #227A57 #2FAA79 #4ACD99

Accessibility & contrast

On white

5.26
#227A57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227A57
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A57#FFFFFF#000000##FFFFFF
##227A571.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787155
Deuteranopia (green-blind)
#6D6959
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227a57;
/* rgb */ color: rgb(34, 122, 87);
/* oklch */ color: oklch(51.9% 0.100 162.3);
Tailwind
colors: {
  custom: {
    50: '#6aa186',
    500: '#227a57',
    950: '#000000',
  },
}
SCSS
$custom: #227a57;
$custom-light: #6aa186;
$custom-dark: #000000;
JSON
{
  "hex": "#227a57",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 87
  },
  "hsl": {
    "h": 156.136,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5186,
    "c": 0.09953,
    "h": 162.3
  },
  "luminance": 0.14947
}

Semantic roles & 50–950 ramp

primary
#227A57
secondary
#AD4B72
accent
#4884E0
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #227A57

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

Preview Lab → · Contrast checker → · Palette generator →

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