#228B5A#228B5A

#228B5A is a mid, vivid teal. Relative luminance 0.195; OKLCH L 56.6% C 0.120 H 157.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#228B5A
RGBrgb(34, 139, 90)
HSLhsl(152, 61%, 34%)
HSVhsv(152, 76%, 55%)
CMYKcmyk(75.5%, 0%, 35.3%, 45.5%)
CIE-LABlab(51.32, -41.17, 18.02)
CIE-LCHlch(51.32, 44.94, 156.36°)
OKLaboklab(56.61% -0.1116 0.0454)
OKLCHoklch(56.61% 0.12 157.9)
XYZxyz(11.7366, 19.5421, 12.8243)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B5A #8B2253
analogous
#228B26 #228B5A #22888B
triadic
#228B5A #5A228B #8B5A22
tetradic
#228B5A #26228B #8B2253 #888B22
square
#228B5A #26228B #8B2253 #888B22
split-complementary
#228B5A #8B2288 #8B2622
monochromatic
#0A291A #165A3A #228B5A #2EBC7A #53D598

Accessibility & contrast

On white

4.28
#228B5A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#228B5A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B5A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B5A#FFFFFF#000000##000000
##228B5A1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8057
Deuteranopia (green-blind)
#7D775D
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228b5a;
/* rgb */ color: rgb(34, 139, 90);
/* oklch */ color: oklch(56.6% 0.120 157.9);
Tailwind
colors: {
  custom: {
    50: '#6eae89',
    500: '#228b5a',
    950: '#000000',
  },
}
SCSS
$custom: #228b5a;
$custom-light: #6eae89;
$custom-dark: #000000;
JSON
{
  "hex": "#228b5a",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 90
  },
  "hsl": {
    "h": 152,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56613,
    "c": 0.12045,
    "h": 157.9
  },
  "luminance": 0.19544
}

Semantic roles & 50–950 ramp

primary
#228B5A
secondary
#B85081
accent
#448FE4
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #228B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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