#228E56#228E56

#228E56 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.128 H 155.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#228E56
RGBrgb(34, 142, 86)
HSLhsl(149, 61%, 35%)
HSVhsv(149, 76%, 56%)
CMYKcmyk(76.1%, 0%, 39.4%, 44.3%)
CIE-LABlab(52.24, -43.22, 21.50)
CIE-LCHlch(52.24, 48.27, 153.55°)
OKLaboklab(57.35% -0.1166 0.0537)
OKLCHoklch(57.35% 0.128 155.3)
XYZxyz(12.0113, 20.3566, 12.0985)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E56 #8E225A
analogous
#248E22 #228E56 #228E8C
triadic
#228E56 #56228E #8E5622
tetradic
#228E56 #22248E #8E225A #8E8C22
square
#228E56 #22248E #8E225A #8E8C22
split-complementary
#228E56 #8C228E #8E2224
monochromatic
#0A2B1A #165D38 #228E56 #2EBF74 #54D693

Accessibility & contrast

On white

4.14
#228E56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#228E56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E56
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E56#FFFFFF#000000##000000
##228E561.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8252
Deuteranopia (green-blind)
#80795A
Tritanopia (blue-blind)
#008C80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228e56;
/* rgb */ color: rgb(34, 142, 86);
/* oklch */ color: oklch(57.3% 0.128 155.3);
Tailwind
colors: {
  custom: {
    50: '#6eb086',
    500: '#228e56',
    950: '#000000',
  },
}
SCSS
$custom: #228e56;
$custom-light: #6eb086;
$custom-dark: #000000;
JSON
{
  "hex": "#228e56",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 86
  },
  "hsl": {
    "h": 148.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57349,
    "c": 0.12841,
    "h": 155.3
  },
  "luminance": 0.20358
}

Semantic roles & 50–950 ramp

primary
#228E56
secondary
#BA5288
accent
#4397E4
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #228E56

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

Preview Lab → · Contrast checker → · Palette generator →

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