#228E5B#228E5B

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

Color values

HEX#228E5B
RGBrgb(34, 142, 91)
HSLhsl(152, 61%, 35%)
HSVhsv(152, 76%, 56%)
CMYKcmyk(76.1%, 0%, 35.9%, 44.3%)
CIE-LABlab(52.33, -42.18, 18.84)
CIE-LCHlch(52.33, 46.19, 155.93°)
OKLaboklab(57.46% -0.1142 0.0474)
OKLCHoklch(57.46% 0.124 157.5)
XYZxyz(12.2198, 20.4400, 13.1968)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E5B #8E2255
analogous
#228E25 #228E5B #228B8E
triadic
#228E5B #5B228E #8E5B22
tetradic
#228E5B #25228E #8E2255 #8B8E22
square
#228E5B #25228E #8E2255 #8B8E22
split-complementary
#228E5B #8E228B #8E2522
monochromatic
#0A2B1C #165D3B #228E5B #2EBF7B #54D699

Accessibility & contrast

On white

4.13
#228E5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##228E5B#FFFFFF#000000##000000
##228E5B1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228e5b;
/* rgb */ color: rgb(34, 142, 91);
/* oklch */ color: oklch(57.5% 0.124 157.5);
Tailwind
colors: {
  custom: {
    50: '#6eb089',
    500: '#228e5b',
    950: '#000000',
  },
}
SCSS
$custom: #228e5b;
$custom-light: #6eb089;
$custom-dark: #000000;
JSON
{
  "hex": "#228e5b",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 91
  },
  "hsl": {
    "h": 151.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57456,
    "c": 0.12363,
    "h": 157.5
  },
  "luminance": 0.20441
}

Semantic roles & 50–950 ramp

primary
#228E5B
secondary
#BA5283
accent
#438FE4
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #228E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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