#228C5A#228C5A

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

Color values

HEX#228C5A
RGBrgb(34, 140, 90)
HSLhsl(152, 61%, 34%)
HSVhsv(152, 76%, 55%)
CMYKcmyk(75.7%, 0%, 35.7%, 45.1%)
CIE-LABlab(51.65, -41.58, 18.47)
CIE-LCHlch(51.65, 45.50, 156.04°)
OKLaboklab(56.89% -0.1126 0.0465)
OKLCHoklch(56.89% 0.122 157.6)
XYZxyz(11.8821, 19.8330, 12.8728)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C5A #8C2254
analogous
#228C25 #228C5A #22898C
triadic
#228C5A #5A228C #8C5A22
tetradic
#228C5A #25228C #8C2254 #898C22
square
#228C5A #25228C #8C2254 #898C22
split-complementary
#228C5A #8C2289 #8C2522
monochromatic
#0A2A1B #165B3A #228C5A #2EBD7A #53D598

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228C5A#FFFFFF#000000##000000
##228C5A1.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)
#8B8157
Deuteranopia (green-blind)
#7E775D
Tritanopia (blue-blind)
#008B7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228c5a;
/* rgb */ color: rgb(34, 140, 90);
/* oklch */ color: oklch(56.9% 0.122 157.6);
Tailwind
colors: {
  custom: {
    50: '#6eae89',
    500: '#228c5a',
    950: '#000000',
  },
}
SCSS
$custom: #228c5a;
$custom-light: #6eae89;
$custom-dark: #000000;
JSON
{
  "hex": "#228c5a",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 90
  },
  "hsl": {
    "h": 151.698,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.12182,
    "h": 157.6
  },
  "luminance": 0.19834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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