#228A5D#228A5D

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

Color values

HEX#228A5D
RGBrgb(34, 138, 93)
HSLhsl(154, 60%, 34%)
HSVhsv(154, 75%, 54%)
CMYKcmyk(75.4%, 0%, 32.6%, 45.9%)
CIE-LABlab(51.04, -40.09, 15.96)
CIE-LCHlch(51.04, 43.15, 158.30°)
OKLaboklab(56.41% -0.109 0.0404)
OKLCHoklch(56.41% 0.116 159.7)
XYZxyz(11.7227, 19.3060, 13.4624)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A5D #8A224F
analogous
#228A29 #228A5D #22838A
triadic
#228A5D #5D228A #8A5D22
tetradic
#228A5D #29228A #8A224F #838A22
square
#228A5D #29228A #8A224F #838A22
split-complementary
#228A5D #8A2283 #8A2922
monochromatic
#0A281B #16593C #228A5D #2EBB7E #52D49C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228A5D#FFFFFF#000000##000000
##228A5D1.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)
#887F5A
Deuteranopia (green-blind)
#7B7660
Tritanopia (blue-blind)
#00897E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228a5d;
/* rgb */ color: rgb(34, 138, 93);
/* oklch */ color: oklch(56.4% 0.116 159.7);
Tailwind
colors: {
  custom: {
    50: '#6dad8b',
    500: '#228a5d',
    950: '#000000',
  },
}
SCSS
$custom: #228a5d;
$custom-light: #6dad8b;
$custom-dark: #000000;
JSON
{
  "hex": "#228a5d",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 93
  },
  "hsl": {
    "h": 154.038,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56409,
    "c": 0.11626,
    "h": 159.7
  },
  "luminance": 0.19307
}

Semantic roles & 50–950 ramp

primary
#228A5D
secondary
#B8507D
accent
#4489E4
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #228A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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