#228D56#228D56

#228D56 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.127 H 155.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#228D56
RGBrgb(34, 141, 86)
HSLhsl(149, 61%, 34%)
HSVhsv(149, 76%, 55%)
CMYKcmyk(75.9%, 0%, 39%, 44.7%)
CIE-LABlab(51.91, -42.82, 21.06)
CIE-LCHlch(51.91, 47.72, 153.81°)
OKLaboklab(57.07% -0.1156 0.0527)
OKLCHoklch(57.07% 0.127 155.5)
XYZxyz(11.8631, 20.0603, 12.0491)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D56 #8D2259
analogous
#238D22 #228D56 #228D8C
triadic
#228D56 #56228D #8D5622
tetradic
#228D56 #22238D #8D2259 #8D8C22
square
#228D56 #22238D #8D2259 #8D8C22
split-complementary
#228D56 #8C228D #8D2223
monochromatic
#0A2A1A #165C38 #228D56 #2EBE74 #54D693

Accessibility & contrast

On white

4.19
#228D56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#228D56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D56
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D56#FFFFFF#000000##000000
##228D561.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8152
Deuteranopia (green-blind)
#7F785A
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228d56;
/* rgb */ color: rgb(34, 141, 86);
/* oklch */ color: oklch(57.1% 0.127 155.5);
Tailwind
colors: {
  custom: {
    50: '#6eaf86',
    500: '#228d56',
    950: '#000000',
  },
}
SCSS
$custom: #228d56;
$custom-light: #6eaf86;
$custom-dark: #000000;
JSON
{
  "hex": "#228d56",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 86
  },
  "hsl": {
    "h": 149.159,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57074,
    "c": 0.12703,
    "h": 155.5
  },
  "luminance": 0.20062
}

Semantic roles & 50–950 ramp

primary
#228D56
secondary
#B95187
accent
#4496E4
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #228D56

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

Preview Lab → · Contrast checker → · Palette generator →

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