#228D5F#228D5F

#228D5F is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.3% C 0.119 H 159.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#228D5F
RGBrgb(34, 141, 95)
HSLhsl(154, 61%, 34%)
HSVhsv(154, 76%, 55%)
CMYKcmyk(75.9%, 0%, 32.6%, 44.7%)
CIE-LABlab(52.08, -40.89, 16.24)
CIE-LCHlch(52.08, 44.00, 158.34°)
OKLaboklab(57.27% -0.1112 0.0411)
OKLCHoklch(57.27% 0.119 159.7)
XYZxyz(12.2489, 20.2146, 14.0805)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D5F #8D2250
analogous
#228D2A #228D5F #22868D
triadic
#228D5F #5F228D #8D5F22
tetradic
#228D5F #2A228D #8D2250 #868D22
square
#228D5F #2A228D #8D2250 #868D22
split-complementary
#228D5F #8D2286 #8D2A22
monochromatic
#0A2A1D #165C3E #228D5F #2EBE80 #54D69E

Accessibility & contrast

On white

4.16
#228D5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#228D5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D5F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D5F#FFFFFF#000000##000000
##228D5F1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B825C
Deuteranopia (green-blind)
#7E7862
Tritanopia (blue-blind)
#008C81
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228d5f;
/* rgb */ color: rgb(34, 141, 95);
/* oklch */ color: oklch(57.3% 0.119 159.7);
Tailwind
colors: {
  custom: {
    50: '#6eaf8c',
    500: '#228d5f',
    950: '#000000',
  },
}
SCSS
$custom: #228d5f;
$custom-light: #6eaf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#228d5f",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 95
  },
  "hsl": {
    "h": 154.206,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57274,
    "c": 0.11852,
    "h": 159.7
  },
  "luminance": 0.20216
}

Semantic roles & 50–950 ramp

primary
#228D5F
secondary
#B9517E
accent
#4489E4
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #228D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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