#228C5B#228C5B

#228C5B is a mid, vivid teal. Relative luminance 0.199; OKLCH L 56.9% C 0.121 H 158.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#228C5B
RGBrgb(34, 140, 91)
HSLhsl(152, 61%, 34%)
HSVhsv(152, 76%, 55%)
CMYKcmyk(75.7%, 0%, 35%, 45.1%)
CIE-LABlab(51.67, -41.36, 17.94)
CIE-LCHlch(51.67, 45.08, 156.55°)
OKLaboklab(56.91% -0.1121 0.0452)
OKLCHoklch(56.91% 0.121 158)
XYZxyz(11.9249, 19.8502, 13.0985)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C5B #8C2253
analogous
#228C26 #228C5B #22888C
triadic
#228C5B #5B228C #8C5B22
tetradic
#228C5B #26228C #8C2253 #888C22
square
#228C5B #26228C #8C2253 #888C22
split-complementary
#228C5B #8C2288 #8C2622
monochromatic
#0A2A1B #165B3B #228C5B #2EBD7B #53D599

Accessibility & contrast

On white

4.23
#228C5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#228C5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C5B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C5B#FFFFFF#000000##000000
##228C5B1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8158
Deuteranopia (green-blind)
#7E775E
Tritanopia (blue-blind)
#008B7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228c5b;
/* rgb */ color: rgb(34, 140, 91);
/* oklch */ color: oklch(56.9% 0.121 158.0);
Tailwind
colors: {
  custom: {
    50: '#6eae89',
    500: '#228c5b',
    950: '#000000',
  },
}
SCSS
$custom: #228c5b;
$custom-light: #6eae89;
$custom-dark: #000000;
JSON
{
  "hex": "#228c5b",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 91
  },
  "hsl": {
    "h": 152.264,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56909,
    "c": 0.12089,
    "h": 158
  },
  "luminance": 0.19852
}

Semantic roles & 50–950 ramp

primary
#228C5B
secondary
#B95181
accent
#448EE4
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #228C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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