#228F5A#228F5A

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

Color values

HEX#228F5A
RGBrgb(34, 143, 90)
HSLhsl(151, 62%, 35%)
HSVhsv(151, 76%, 56%)
CMYKcmyk(76.2%, 0%, 37.1%, 43.9%)
CIE-LABlab(52.64, -42.79, 19.82)
CIE-LCHlch(52.64, 47.16, 155.15°)
OKLaboklab(57.71% -0.1157 0.0497)
OKLCHoklch(57.71% 0.126 156.7)
XYZxyz(12.3264, 20.7217, 13.0209)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F5A #8F2257
analogous
#228F24 #228F5A #228D8F
triadic
#228F5A #5A228F #8F5A22
tetradic
#228F5A #24228F #8F2257 #8D8F22
square
#228F5A #24228F #8F2257 #8D8F22
split-complementary
#228F5A #8F228D #8F2422
monochromatic
#0A2C1C #165E3B #228F5A #2EC079 #55D797

Accessibility & contrast

On white

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

On black

5.14
#228F5A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F5A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F5A#FFFFFF#000000##000000
##228F5A1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8357
Deuteranopia (green-blind)
#817A5D
Tritanopia (blue-blind)
#008E81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #228f5a;
/* rgb */ color: rgb(34, 143, 90);
/* oklch */ color: oklch(57.7% 0.126 156.7);
Tailwind
colors: {
  custom: {
    50: '#6eb189',
    500: '#228f5a',
    950: '#000000',
  },
}
SCSS
$custom: #228f5a;
$custom-light: #6eb189;
$custom-dark: #000000;
JSON
{
  "hex": "#228f5a",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 90
  },
  "hsl": {
    "h": 150.826,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57707,
    "c": 0.12595,
    "h": 156.7
  },
  "luminance": 0.20723
}

Semantic roles & 50–950 ramp

primary
#228F5A
secondary
#BA5285
accent
#4392E5
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#08110B
muted
#7B807C

Preview Lab

Preview with #228F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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