#228B71#228B71

#228B71 is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.2% C 0.101 H 171.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#228B71
RGBrgb(34, 139, 113)
HSLhsl(165, 61%, 34%)
HSVhsv(165, 76%, 55%)
CMYKcmyk(75.5%, 0%, 18.7%, 45.5%)
CIE-LABlab(51.83, -35.62, 5.58)
CIE-LCHlch(51.83, 36.05, 171.09°)
OKLaboklab(57.21% -0.1 0.0142)
OKLCHoklch(57.21% 0.101 171.9)
XYZxyz(12.8714, 19.9960, 18.8008)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B71 #8B223C
analogous
#228B3D #228B71 #22718B
triadic
#228B71 #71228B #8B7122
tetradic
#228B71 #3D228B #8B223C #718B22
square
#228B71 #3D228B #8B223C #718B22
split-complementary
#228B71 #8B2271 #8B3D22
monochromatic
#0A2921 #165A49 #228B71 #2EBC99 #53D5B5

Accessibility & contrast

On white

4.20
#228B71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#228B71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B71
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B71#FFFFFF#000000##000000
##228B711.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#878170
Deuteranopia (green-blind)
#797773
Tritanopia (blue-blind)
#008C83
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228b71;
/* rgb */ color: rgb(34, 139, 113);
/* oklch */ color: oklch(57.2% 0.101 171.9);
Tailwind
colors: {
  custom: {
    50: '#6ead99',
    500: '#228b71',
    950: '#000000',
  },
}
SCSS
$custom: #228b71;
$custom-light: #6ead99;
$custom-dark: #000000;
JSON
{
  "hex": "#228b71",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 113
  },
  "hsl": {
    "h": 165.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57208,
    "c": 0.10103,
    "h": 171.9
  },
  "luminance": 0.19998
}

Semantic roles & 50–950 ramp

primary
#228B71
secondary
#B8506A
accent
#446CE4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #228B71

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

Preview Lab → · Contrast checker → · Palette generator →

#228B71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva