#228C5F#228C5F

#228C5F is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.0% C 0.117 H 160.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#228C5F
RGBrgb(34, 140, 95)
HSLhsl(155, 61%, 34%)
HSVhsv(155, 76%, 55%)
CMYKcmyk(75.7%, 0%, 32.1%, 45.1%)
CIE-LABlab(51.75, -40.47, 15.79)
CIE-LCHlch(51.75, 43.44, 158.69°)
OKLaboklab(57% -0.1101 0.04)
OKLCHoklch(57% 0.117 160)
XYZxyz(12.1021, 19.9210, 14.0316)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C5F #8C224F
analogous
#228C2A #228C5F #22848C
triadic
#228C5F #5F228C #8C5F22
tetradic
#228C5F #2A228C #8C224F #848C22
square
#228C5F #2A228C #8C224F #848C22
split-complementary
#228C5F #8C2284 #8C2A22
monochromatic
#0A2A1C #165B3E #228C5F #2EBD80 #53D59E

Accessibility & contrast

On white

4.21
#228C5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#228C5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C5F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C5F#FFFFFF#000000##000000
##228C5F1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A815C
Deuteranopia (green-blind)
#7D7862
Tritanopia (blue-blind)
#008B80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228c5f;
/* rgb */ color: rgb(34, 140, 95);
/* oklch */ color: oklch(57.0% 0.117 160.0);
Tailwind
colors: {
  custom: {
    50: '#6eae8c',
    500: '#228c5f',
    950: '#000000',
  },
}
SCSS
$custom: #228c5f;
$custom-light: #6eae8c;
$custom-dark: #000000;
JSON
{
  "hex": "#228c5f",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 95
  },
  "hsl": {
    "h": 154.528,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57002,
    "c": 0.11716,
    "h": 160
  },
  "luminance": 0.19922
}

Semantic roles & 50–950 ramp

primary
#228C5F
secondary
#B9517D
accent
#4488E4
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #228C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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