#228F5C#228F5C

#228F5C is a mid, vivid teal. Relative luminance 0.208; OKLCH L 57.8% C 0.124 H 157.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#228F5C
RGBrgb(34, 143, 92)
HSLhsl(152, 62%, 35%)
HSVhsv(152, 76%, 56%)
CMYKcmyk(76.2%, 0%, 35.7%, 43.9%)
CIE-LABlab(52.68, -42.37, 18.75)
CIE-LCHlch(52.68, 46.33, 156.13°)
OKLaboklab(57.75% -0.1147 0.0472)
OKLCHoklch(57.75% 0.124 157.6)
XYZxyz(12.4127, 20.7562, 13.4753)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F5C #8F2255
analogous
#228F26 #228F5C #228B8F
triadic
#228F5C #5C228F #8F5C22
tetradic
#228F5C #26228F #8F2255 #8B8F22
square
#228F5C #26228F #8F2255 #8B8F22
split-complementary
#228F5C #8F228B #8F2622
monochromatic
#0A2C1C #165E3C #228F5C #2EC07C #55D79A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228F5C#FFFFFF#000000##000000
##228F5C1.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)
#8E8359
Deuteranopia (green-blind)
#817A5F
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #228f5c;
/* rgb */ color: rgb(34, 143, 92);
/* oklch */ color: oklch(57.8% 0.124 157.6);
Tailwind
colors: {
  custom: {
    50: '#6eb18a',
    500: '#228f5c',
    950: '#000000',
  },
}
SCSS
$custom: #228f5c;
$custom-light: #6eb18a;
$custom-dark: #000000;
JSON
{
  "hex": "#228f5c",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 92
  },
  "hsl": {
    "h": 151.927,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57751,
    "c": 0.12406,
    "h": 157.6
  },
  "luminance": 0.20758
}

Semantic roles & 50–950 ramp

primary
#228F5C
secondary
#BA5283
accent
#438FE5
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#08110C
muted
#7B807D

Preview Lab

Preview with #228F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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