#228F5B#228F5B

#228F5B is a mid, vivid teal. Relative luminance 0.207; OKLCH L 57.7% C 0.125 H 157.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#228F5B
RGBrgb(34, 143, 91)
HSLhsl(151, 62%, 35%)
HSVhsv(151, 76%, 56%)
CMYKcmyk(76.2%, 0%, 36.4%, 43.9%)
CIE-LABlab(52.66, -42.58, 19.28)
CIE-LCHlch(52.66, 46.74, 155.64°)
OKLaboklab(57.73% -0.1152 0.0485)
OKLCHoklch(57.73% 0.125 157.2)
XYZxyz(12.3693, 20.7389, 13.2466)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F5B #8F2256
analogous
#228F24 #228F5B #228D8F
triadic
#228F5B #5B228F #8F5B22
tetradic
#228F5B #24228F #8F2256 #8D8F22
square
#228F5B #24228F #8F2256 #8D8F22
split-complementary
#228F5B #8F228D #8F2422
monochromatic
#0A2C1C #165E3C #228F5B #2EC07A #55D799

Accessibility & contrast

On white

4.08
#228F5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#228F5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F5B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F5B#FFFFFF#000000##000000
##228F5B1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8358
Deuteranopia (green-blind)
#817A5E
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #228f5b;
/* rgb */ color: rgb(34, 143, 91);
/* oklch */ color: oklch(57.7% 0.125 157.2);
Tailwind
colors: {
  custom: {
    50: '#6eb189',
    500: '#228f5b',
    950: '#000000',
  },
}
SCSS
$custom: #228f5b;
$custom-light: #6eb189;
$custom-dark: #000000;
JSON
{
  "hex": "#228f5b",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 91
  },
  "hsl": {
    "h": 151.376,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57729,
    "c": 0.125,
    "h": 157.2
  },
  "luminance": 0.2074
}

Semantic roles & 50–950 ramp

primary
#228F5B
secondary
#BA5284
accent
#4390E5
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#08110B
muted
#7B807C

Preview Lab

Preview with #228F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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