#228D5B#228D5B

#228D5B is a mid, vivid teal. Relative luminance 0.201; OKLCH L 57.2% C 0.122 H 157.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#228D5B
RGBrgb(34, 141, 91)
HSLhsl(152, 61%, 34%)
HSVhsv(152, 76%, 55%)
CMYKcmyk(75.9%, 0%, 35.5%, 44.7%)
CIE-LABlab(52.00, -41.77, 18.39)
CIE-LCHlch(52.00, 45.64, 156.24°)
OKLaboklab(57.18% -0.1131 0.0463)
OKLCHoklch(57.18% 0.122 157.7)
XYZxyz(12.0717, 20.1437, 13.1474)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D5B #8D2254
analogous
#228D26 #228D5B #228A8D
triadic
#228D5B #5B228D #8D5B22
tetradic
#228D5B #26228D #8D2254 #8A8D22
square
#228D5B #26228D #8D2254 #8A8D22
split-complementary
#228D5B #8D228A #8D2622
monochromatic
#0A2A1B #165C3B #228D5B #2EBE7B #54D699

Accessibility & contrast

On white

4.18
#228D5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##228D5B#FFFFFF#000000##000000
##228D5B1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8258
Deuteranopia (green-blind)
#7F785E
Tritanopia (blue-blind)
#008C80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228d5b;
/* rgb */ color: rgb(34, 141, 91);
/* oklch */ color: oklch(57.2% 0.122 157.7);
Tailwind
colors: {
  custom: {
    50: '#6eaf89',
    500: '#228d5b',
    950: '#000000',
  },
}
SCSS
$custom: #228d5b;
$custom-light: #6eaf89;
$custom-dark: #000000;
JSON
{
  "hex": "#228d5b",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 91
  },
  "hsl": {
    "h": 151.963,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57183,
    "c": 0.12226,
    "h": 157.7
  },
  "luminance": 0.20145
}

Semantic roles & 50–950 ramp

primary
#228D5B
secondary
#B95182
accent
#448FE4
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #228D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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