#228B5C#228B5C

#228B5C is a mid, moderate teal. Relative luminance 0.196; OKLCH L 56.7% C 0.119 H 158.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#228B5C
RGBrgb(34, 139, 92)
HSLhsl(153, 61%, 34%)
HSVhsv(153, 76%, 55%)
CMYKcmyk(75.5%, 0%, 33.8%, 45.5%)
CIE-LABlab(51.36, -40.73, 16.95)
CIE-LCHlch(51.36, 44.12, 157.41°)
OKLaboklab(56.66% -0.1106 0.0428)
OKLCHoklch(56.66% 0.119 158.8)
XYZxyz(11.8229, 19.5766, 13.2787)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B5C #8B2251
analogous
#228B28 #228B5C #22868B
triadic
#228B5C #5C228B #8B5C22
tetradic
#228B5C #28228B #8B2251 #868B22
square
#228B5C #28228B #8B2251 #868B22
split-complementary
#228B5C #8B2286 #8B2822
monochromatic
#0A291B #165A3B #228B5C #2EBC7D #53D59B

Accessibility & contrast

On white

4.27
#228B5C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#228B5C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B5C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B5C#FFFFFF#000000##000000
##228B5C1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8059
Deuteranopia (green-blind)
#7D775F
Tritanopia (blue-blind)
#008A7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228b5c;
/* rgb */ color: rgb(34, 139, 92);
/* oklch */ color: oklch(56.7% 0.119 158.8);
Tailwind
colors: {
  custom: {
    50: '#6eae8a',
    500: '#228b5c',
    950: '#000000',
  },
}
SCSS
$custom: #228b5c;
$custom-light: #6eae8a;
$custom-dark: #000000;
JSON
{
  "hex": "#228b5c",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 92
  },
  "hsl": {
    "h": 153.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.11857,
    "h": 158.8
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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