#228C6B#228C6B

#228C6B is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.3% C 0.107 H 167.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#228C6B
RGBrgb(34, 140, 107)
HSLhsl(161, 61%, 34%)
HSVhsv(161, 76%, 55%)
CMYKcmyk(75.7%, 0%, 23.6%, 45.1%)
CIE-LABlab(52.01, -37.61, 9.30)
CIE-LCHlch(52.01, 38.74, 166.11°)
OKLaboklab(57.31% -0.1041 0.0238)
OKLCHoklch(57.31% 0.107 167.1)
XYZxyz(12.6902, 20.1563, 17.1288)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C6B #8C2243
analogous
#228C36 #228C6B #22788C
triadic
#228C6B #6B228C #8C6B22
tetradic
#228C6B #36228C #8C2243 #788C22
square
#228C6B #36228C #8C2243 #788C22
split-complementary
#228C6B #8C2278 #8C3622
monochromatic
#0A2A20 #165B45 #228C6B #2EBD91 #53D5AD

Accessibility & contrast

On white

4.17
#228C6B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#228C6B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C6B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C6B#FFFFFF#000000##000000
##228C6B1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#898269
Deuteranopia (green-blind)
#7B786D
Tritanopia (blue-blind)
#008D83
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228c6b;
/* rgb */ color: rgb(34, 140, 107);
/* oklch */ color: oklch(57.3% 0.107 167.1);
Tailwind
colors: {
  custom: {
    50: '#6eae95',
    500: '#228c6b',
    950: '#000000',
  },
}
SCSS
$custom: #228c6b;
$custom-light: #6eae95;
$custom-dark: #000000;
JSON
{
  "hex": "#228c6b",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 107
  },
  "hsl": {
    "h": 161.321,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57308,
    "c": 0.10677,
    "h": 167.1
  },
  "luminance": 0.20158
}

Semantic roles & 50–950 ramp

primary
#228C6B
secondary
#B95171
accent
#4476E4
background
#F7FAF9
surface
#EDF4F1
border
#C8CECB
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #228C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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