#228D5E#228D5E

#228D5E is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.3% C 0.119 H 159.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#228D5E
RGBrgb(34, 141, 94)
HSLhsl(154, 61%, 34%)
HSVhsv(154, 76%, 55%)
CMYKcmyk(75.9%, 0%, 33.3%, 44.7%)
CIE-LABlab(52.06, -41.11, 16.78)
CIE-LCHlch(52.06, 44.40, 157.80°)
OKLaboklab(57.25% -0.1117 0.0424)
OKLCHoklch(57.25% 0.119 159.2)
XYZxyz(12.2037, 20.1965, 13.8427)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D5E #8D2251
analogous
#228D29 #228D5E #22878D
triadic
#228D5E #5E228D #8D5E22
tetradic
#228D5E #29228D #8D2251 #878D22
square
#228D5E #29228D #8D2251 #878D22
split-complementary
#228D5E #8D2287 #8D2922
monochromatic
#0A2A1C #165C3D #228D5E #2EBE7F #54D69D

Accessibility & contrast

On white

4.17
#228D5E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#228D5E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D5E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D5E#FFFFFF#000000##000000
##228D5E1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B825B
Deuteranopia (green-blind)
#7E7861
Tritanopia (blue-blind)
#008C81
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228d5e;
/* rgb */ color: rgb(34, 141, 94);
/* oklch */ color: oklch(57.3% 0.119 159.2);
Tailwind
colors: {
  custom: {
    50: '#6eaf8c',
    500: '#228d5e',
    950: '#000000',
  },
}
SCSS
$custom: #228d5e;
$custom-light: #6eaf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#228d5e",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 94
  },
  "hsl": {
    "h": 153.645,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57251,
    "c": 0.11945,
    "h": 159.2
  },
  "luminance": 0.20198
}

Semantic roles & 50–950 ramp

primary
#228D5E
secondary
#B9517F
accent
#448AE4
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #228D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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