#227157#227157

#227157 is a mid, moderate teal. Relative luminance 0.128; OKLCH L 49.4% C 0.087 H 167.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#227157
RGBrgb(34, 113, 87)
HSLhsl(160, 54%, 29%)
HSVhsv(160, 70%, 44%)
CMYKcmyk(69.9%, 0%, 23%, 55.7%)
CIE-LABlab(42.52, -30.54, 7.59)
CIE-LCHlch(42.52, 31.47, 166.05°)
OKLaboklab(49.37% -0.0848 0.0194)
OKLCHoklch(49.37% 0.087 167.1)
XYZxyz(8.2842, 12.8375, 11.0563)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227157 #71223C
analogous
#227130 #227157 #226471
triadic
#227157 #572271 #715722
tetradic
#227157 #302271 #71223C #647122
square
#227157 #302271 #71223C #647122
split-complementary
#227157 #712264 #713022
monochromatic
#071812 #144233 #227157 #30A07B #46C79D

Accessibility & contrast

On white

5.89
#227157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#227157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227157
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227157#FFFFFF#000000##FFFFFF
##2271571.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6956
Deuteranopia (green-blind)
#646159
Tritanopia (blue-blind)
#00716A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227157;
/* rgb */ color: rgb(34, 113, 87);
/* oklch */ color: oklch(49.4% 0.087 167.1);
Tailwind
colors: {
  custom: {
    50: '#689a86',
    500: '#227157',
    950: '#000000',
  },
}
SCSS
$custom: #227157;
$custom-light: #689a86;
$custom-dark: #000000;
JSON
{
  "hex": "#227157",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 87
  },
  "hsl": {
    "h": 160.253,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49366,
    "c": 0.08695,
    "h": 167.1
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#227157
secondary
#A44A68
accent
#4B7BDD
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #227157

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

Preview Lab → · Contrast checker → · Palette generator →

#227157 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva