#228B5E#228B5E

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

Color values

HEX#228B5E
RGBrgb(34, 139, 94)
HSLhsl(154, 61%, 34%)
HSVhsv(154, 76%, 55%)
CMYKcmyk(75.5%, 0%, 32.4%, 45.5%)
CIE-LABlab(51.40, -40.28, 15.87)
CIE-LCHlch(51.40, 43.30, 158.50°)
OKLaboklab(56.71% -0.1096 0.0402)
OKLCHoklch(56.71% 0.117 159.9)
XYZxyz(11.9115, 19.6121, 13.7452)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B5E #8B224F
analogous
#228B2A #228B5E #22848B
triadic
#228B5E #5E228B #8B5E22
tetradic
#228B5E #2A228B #8B224F #848B22
square
#228B5E #2A228B #8B224F #848B22
split-complementary
#228B5E #8B2284 #8B2A22
monochromatic
#0A291B #165A3D #228B5E #2EBC7F #53D59D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228B5E#FFFFFF#000000##000000
##228B5E1.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)
#89805B
Deuteranopia (green-blind)
#7C7761
Tritanopia (blue-blind)
#008A7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228b5e;
/* rgb */ color: rgb(34, 139, 94);
/* oklch */ color: oklch(56.7% 0.117 159.9);
Tailwind
colors: {
  custom: {
    50: '#6eae8c',
    500: '#228b5e',
    950: '#000000',
  },
}
SCSS
$custom: #228b5e;
$custom-light: #6eae8c;
$custom-dark: #000000;
JSON
{
  "hex": "#228b5e",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 94
  },
  "hsl": {
    "h": 154.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56705,
    "c": 0.11671,
    "h": 159.9
  },
  "luminance": 0.19613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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