#228E5D#228E5D

#228E5D is a mid, vivid teal. Relative luminance 0.205; OKLCH L 57.5% C 0.122 H 158.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#228E5D
RGBrgb(34, 142, 93)
HSLhsl(153, 61%, 35%)
HSVhsv(153, 76%, 56%)
CMYKcmyk(76.1%, 0%, 34.5%, 44.3%)
CIE-LABlab(52.37, -41.74, 17.76)
CIE-LCHlch(52.37, 45.37, 156.95°)
OKLaboklab(57.5% -0.1132 0.0448)
OKLCHoklch(57.5% 0.122 158.4)
XYZxyz(12.3072, 20.4749, 13.6572)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E5D #8E2253
analogous
#228E27 #228E5D #22898E
triadic
#228E5D #5D228E #8E5D22
tetradic
#228E5D #27228E #8E2253 #898E22
square
#228E5D #27228E #8E2253 #898E22
split-complementary
#228E5D #8E2289 #8E2722
monochromatic
#0A2B1C #165D3D #228E5D #2EBF7D #54D69B

Accessibility & contrast

On white

4.12
#228E5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#228E5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E5D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E5D#FFFFFF#000000##000000
##228E5D1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D835A
Deuteranopia (green-blind)
#7F7960
Tritanopia (blue-blind)
#008D81
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228e5d;
/* rgb */ color: rgb(34, 142, 93);
/* oklch */ color: oklch(57.5% 0.122 158.4);
Tailwind
colors: {
  custom: {
    50: '#6eb08b',
    500: '#228e5d',
    950: '#000000',
  },
}
SCSS
$custom: #228e5d;
$custom-light: #6eb08b;
$custom-dark: #000000;
JSON
{
  "hex": "#228e5d",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 93
  },
  "hsl": {
    "h": 152.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57501,
    "c": 0.12175,
    "h": 158.4
  },
  "luminance": 0.20476
}

Semantic roles & 50–950 ramp

primary
#228E5D
secondary
#BA5281
accent
#438CE4
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #228E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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