#228D5D#228D5D

#228D5D is a mid, vivid teal. Relative luminance 0.202; OKLCH L 57.2% C 0.120 H 158.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#228D5D
RGBrgb(34, 141, 93)
HSLhsl(153, 61%, 34%)
HSVhsv(153, 76%, 55%)
CMYKcmyk(75.9%, 0%, 34%, 44.7%)
CIE-LABlab(52.04, -41.33, 17.31)
CIE-LCHlch(52.04, 44.81, 157.27°)
OKLaboklab(57.23% -0.1122 0.0437)
OKLCHoklch(57.23% 0.12 158.7)
XYZxyz(12.1591, 20.1787, 13.6079)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D5D #8D2252
analogous
#228D28 #228D5D #22888D
triadic
#228D5D #5D228D #8D5D22
tetradic
#228D5D #28228D #8D2252 #888D22
square
#228D5D #28228D #8D2252 #888D22
split-complementary
#228D5D #8D2288 #8D2822
monochromatic
#0A2A1C #165C3C #228D5D #2EBE7E #54D69B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228D5D#FFFFFF#000000##000000
##228D5D1.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)
#8C825A
Deuteranopia (green-blind)
#7E7860
Tritanopia (blue-blind)
#008C80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228d5d;
/* rgb */ color: rgb(34, 141, 93);
/* oklch */ color: oklch(57.2% 0.120 158.7);
Tailwind
colors: {
  custom: {
    50: '#6eaf8b',
    500: '#228d5d',
    950: '#000000',
  },
}
SCSS
$custom: #228d5d;
$custom-light: #6eaf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#228d5d",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 93
  },
  "hsl": {
    "h": 153.084,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57228,
    "c": 0.12038,
    "h": 158.7
  },
  "luminance": 0.2018
}

Semantic roles & 50–950 ramp

primary
#228D5D
secondary
#B95180
accent
#448CE4
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #228D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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