#227A58#227A58

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

Color values

HEX#227A58
RGBrgb(34, 122, 88)
HSLhsl(157, 56%, 31%)
HSVhsv(157, 72%, 48%)
CMYKcmyk(72.1%, 0%, 27.9%, 52.2%)
CIE-LABlab(45.58, -34.39, 11.30)
CIE-LCHlch(45.58, 36.20, 161.81°)
OKLaboklab(51.89% -0.0943 0.0288)
OKLCHoklch(51.89% 0.099 163)
XYZxyz(9.3797, 14.9627, 11.6244)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A58 #7A2244
analogous
#227A2C #227A58 #22707A
triadic
#227A58 #58227A #7A5822
tetradic
#227A58 #2C227A #7A2244 #707A22
square
#227A58 #2C227A #7A2244 #707A22
split-complementary
#227A58 #7A2270 #7A2C22
monochromatic
#071A13 #154A35 #227A58 #2FAA7B #4ACD9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227A58#FFFFFF#000000##FFFFFF
##227A581.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)
#787156
Deuteranopia (green-blind)
#6C695A
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227a58;
/* rgb */ color: rgb(34, 122, 88);
/* oklch */ color: oklch(51.9% 0.099 163.0);
Tailwind
colors: {
  custom: {
    50: '#6aa187',
    500: '#227a58',
    950: '#000000',
  },
}
SCSS
$custom: #227a58;
$custom-light: #6aa187;
$custom-dark: #000000;
JSON
{
  "hex": "#227a58",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 88
  },
  "hsl": {
    "h": 156.818,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51886,
    "c": 0.09863,
    "h": 163
  },
  "luminance": 0.14964
}

Semantic roles & 50–950 ramp

primary
#227A58
secondary
#AD4B71
accent
#4883E0
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #227A58

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

Preview Lab → · Contrast checker → · Palette generator →

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