#228C56#228C56

#228C56 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.126 H 155.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#228C56
RGBrgb(34, 140, 86)
HSLhsl(149, 61%, 34%)
HSVhsv(149, 76%, 55%)
CMYKcmyk(75.7%, 0%, 38.6%, 45.1%)
CIE-LABlab(51.57, -42.42, 20.61)
CIE-LCHlch(51.57, 47.16, 154.08°)
OKLaboklab(56.8% -0.1146 0.0516)
OKLCHoklch(56.8% 0.126 155.8)
XYZxyz(11.7164, 19.7668, 12.0002)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C56 #8C2258
analogous
#238C22 #228C56 #228C8B
triadic
#228C56 #56228C #8C5622
tetradic
#228C56 #22238C #8C2258 #8C8B22
square
#228C56 #22238C #8C2258 #8C8B22
split-complementary
#228C56 #8B228C #8C2223
monochromatic
#0A2A1A #165B38 #228C56 #2EBD74 #53D593

Accessibility & contrast

On white

4.24
#228C56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#228C56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C56
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C56#FFFFFF#000000##000000
##228C561.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8052
Deuteranopia (green-blind)
#7E775A
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228c56;
/* rgb */ color: rgb(34, 140, 86);
/* oklch */ color: oklch(56.8% 0.126 155.8);
Tailwind
colors: {
  custom: {
    50: '#6eae86',
    500: '#228c56',
    950: '#000000',
  },
}
SCSS
$custom: #228c56;
$custom-light: #6eae86;
$custom-dark: #000000;
JSON
{
  "hex": "#228c56",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 86
  },
  "hsl": {
    "h": 149.434,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.568,
    "c": 0.12565,
    "h": 155.8
  },
  "luminance": 0.19768
}

Semantic roles & 50–950 ramp

primary
#228C56
secondary
#B95186
accent
#4495E4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #228C56

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

Preview Lab → · Contrast checker → · Palette generator →

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