#228C5C#228C5C

#228C5C is a mid, moderate teal. Relative luminance 0.199; OKLCH L 56.9% C 0.120 H 158.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#228C5C
RGBrgb(34, 140, 92)
HSLhsl(153, 61%, 34%)
HSVhsv(153, 76%, 55%)
CMYKcmyk(75.7%, 0%, 34.3%, 45.1%)
CIE-LABlab(51.69, -41.14, 17.40)
CIE-LCHlch(51.69, 44.67, 157.08°)
OKLaboklab(56.93% -0.1116 0.0439)
OKLCHoklch(56.93% 0.12 158.5)
XYZxyz(11.9683, 19.8676, 13.3272)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C5C #8C2252
analogous
#228C27 #228C5C #22878C
triadic
#228C5C #5C228C #8C5C22
tetradic
#228C5C #27228C #8C2252 #878C22
square
#228C5C #27228C #8C2252 #878C22
split-complementary
#228C5C #8C2287 #8C2722
monochromatic
#0A2A1B #165B3C #228C5C #2EBD7C #53D59A

Accessibility & contrast

On white

4.22
#228C5C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##228C5C#FFFFFF#000000##000000
##228C5C1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8159
Deuteranopia (green-blind)
#7E775F
Tritanopia (blue-blind)
#008B7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228c5c;
/* rgb */ color: rgb(34, 140, 92);
/* oklch */ color: oklch(56.9% 0.120 158.5);
Tailwind
colors: {
  custom: {
    50: '#6eae8a',
    500: '#228c5c',
    950: '#000000',
  },
}
SCSS
$custom: #228c5c;
$custom-light: #6eae8a;
$custom-dark: #000000;
JSON
{
  "hex": "#228c5c",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 92
  },
  "hsl": {
    "h": 152.83,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56932,
    "c": 0.11994,
    "h": 158.5
  },
  "luminance": 0.19869
}

Semantic roles & 50–950 ramp

primary
#228C5C
secondary
#B95180
accent
#448CE4
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #228C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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