#227158#227158

#227158 is a mid, moderate teal. Relative luminance 0.129; OKLCH L 49.4% C 0.086 H 168.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#227158
RGBrgb(34, 113, 88)
HSLhsl(161, 54%, 29%)
HSVhsv(161, 70%, 44%)
CMYKcmyk(69.9%, 0%, 22.1%, 55.7%)
CIE-LABlab(42.54, -30.28, 7.02)
CIE-LCHlch(42.54, 31.09, 166.94°)
OKLaboklab(49.4% -0.0842 0.018)
OKLCHoklch(49.4% 0.086 168)
XYZxyz(8.3254, 12.8540, 11.2729)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227158 #71223B
analogous
#227131 #227158 #226371
triadic
#227158 #582271 #715822
tetradic
#227158 #312271 #71223B #637122
square
#227158 #312271 #71223B #637122
split-complementary
#227158 #712263 #713122
monochromatic
#071812 #144233 #227158 #30A07D #46C79E

Accessibility & contrast

On white

5.88
#227158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227158
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227158#FFFFFF#000000##FFFFFF
##2271581.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6957
Deuteranopia (green-blind)
#63615A
Tritanopia (blue-blind)
#00726A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227158;
/* rgb */ color: rgb(34, 113, 88);
/* oklch */ color: oklch(49.4% 0.086 168.0);
Tailwind
colors: {
  custom: {
    50: '#689a87',
    500: '#227158',
    950: '#000000',
  },
}
SCSS
$custom: #227158;
$custom-light: #689a87;
$custom-dark: #000000;
JSON
{
  "hex": "#227158",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 88
  },
  "hsl": {
    "h": 161.013,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49395,
    "c": 0.08614,
    "h": 168
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#227158
secondary
#A44A67
accent
#4B79DD
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #227158

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

Preview Lab → · Contrast checker → · Palette generator →

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