#228A5C#228A5C

#228A5C is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.4% C 0.117 H 159.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#228A5C
RGBrgb(34, 138, 92)
HSLhsl(153, 60%, 34%)
HSVhsv(153, 75%, 54%)
CMYKcmyk(75.4%, 0%, 33.3%, 45.9%)
CIE-LABlab(51.02, -40.32, 16.50)
CIE-LCHlch(51.02, 43.56, 157.75°)
OKLaboklab(56.39% -0.1095 0.0417)
OKLCHoklch(56.39% 0.117 159.2)
XYZxyz(11.6787, 19.2884, 13.2307)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A5C #8A2250
analogous
#228A28 #228A5C #22848A
triadic
#228A5C #5C228A #8A5C22
tetradic
#228A5C #28228A #8A2250 #848A22
square
#228A5C #28228A #8A2250 #848A22
split-complementary
#228A5C #8A2284 #8A2822
monochromatic
#0A281B #16593B #228A5C #2EBB7D #52D49B

Accessibility & contrast

On white

4.32
#228A5C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#228A5C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A5C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A5C#FFFFFF#000000##000000
##228A5C1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887F59
Deuteranopia (green-blind)
#7C765F
Tritanopia (blue-blind)
#00897E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228a5c;
/* rgb */ color: rgb(34, 138, 92);
/* oklch */ color: oklch(56.4% 0.117 159.2);
Tailwind
colors: {
  custom: {
    50: '#6dad8a',
    500: '#228a5c',
    950: '#000000',
  },
}
SCSS
$custom: #228a5c;
$custom-light: #6dad8a;
$custom-dark: #000000;
JSON
{
  "hex": "#228a5c",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 92
  },
  "hsl": {
    "h": 153.462,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56385,
    "c": 0.11719,
    "h": 159.2
  },
  "luminance": 0.1929
}

Semantic roles & 50–950 ramp

primary
#228A5C
secondary
#B8507E
accent
#448BE4
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #228A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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