#228E5C#228E5C

#228E5C is a mid, vivid teal. Relative luminance 0.205; OKLCH L 57.5% C 0.123 H 157.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#228E5C
RGBrgb(34, 142, 92)
HSLhsl(152, 61%, 35%)
HSVhsv(152, 76%, 56%)
CMYKcmyk(76.1%, 0%, 35.2%, 44.3%)
CIE-LABlab(52.35, -41.96, 18.30)
CIE-LCHlch(52.35, 45.78, 156.44°)
OKLaboklab(57.48% -0.1137 0.0461)
OKLCHoklch(57.48% 0.123 157.9)
XYZxyz(12.2632, 20.4573, 13.4255)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E5C #8E2254
analogous
#228E26 #228E5C #228A8E
triadic
#228E5C #5C228E #8E5C22
tetradic
#228E5C #26228E #8E2254 #8A8E22
square
#228E5C #26228E #8E2254 #8A8E22
split-complementary
#228E5C #8E228A #8E2622
monochromatic
#0A2B1C #165D3C #228E5C #2EBF7C #54D69A

Accessibility & contrast

On white

4.12
#228E5C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#228E5C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E5C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E5C#FFFFFF#000000##000000
##228E5C1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8359
Deuteranopia (green-blind)
#80795F
Tritanopia (blue-blind)
#008D81
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228e5c;
/* rgb */ color: rgb(34, 142, 92);
/* oklch */ color: oklch(57.5% 0.123 157.9);
Tailwind
colors: {
  custom: {
    50: '#6eb08a',
    500: '#228e5c',
    950: '#000000',
  },
}
SCSS
$custom: #228e5c;
$custom-light: #6eb08a;
$custom-dark: #000000;
JSON
{
  "hex": "#228e5c",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 92
  },
  "hsl": {
    "h": 152.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57478,
    "c": 0.12268,
    "h": 157.9
  },
  "luminance": 0.20459
}

Semantic roles & 50–950 ramp

primary
#228E5C
secondary
#BA5282
accent
#438EE4
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #228E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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