#228552#228552

#228552 is a mid, moderate green. Relative luminance 0.177; OKLCH L 54.8% C 0.120 H 155.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#228552
RGBrgb(34, 133, 82)
HSLhsl(149, 59%, 33%)
HSVhsv(149, 74%, 52%)
CMYKcmyk(74.4%, 0%, 38.3%, 47.8%)
CIE-LABlab(49.16, -40.42, 19.63)
CIE-LCHlch(49.16, 44.93, 154.09°)
OKLaboklab(54.79% -0.1092 0.0492)
OKLCHoklch(54.79% 0.12 155.8)
XYZxyz(10.5692, 17.7231, 10.8449)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228552 #852255
analogous
#248522 #228552 #228583
triadic
#228552 #522285 #855222
tetradic
#228552 #222485 #852255 #858322
square
#228552 #222485 #852255 #858322
split-complementary
#228552 #832285 #852224
monochromatic
#092416 #165434 #228552 #2EB670 #4FD28F

Accessibility & contrast

On white

4.62
#228552 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#228552 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228552
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228552#FFFFFF#000000##FFFFFF
##2285521.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847A4F
Deuteranopia (green-blind)
#787155
Tritanopia (blue-blind)
#008478
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228552;
/* rgb */ color: rgb(34, 133, 82);
/* oklch */ color: oklch(54.8% 0.120 155.8);
Tailwind
colors: {
  custom: {
    50: '#6ca983',
    500: '#228552',
    950: '#000000',
  },
}
SCSS
$custom: #228552;
$custom-light: #6ca983;
$custom-dark: #000000;
JSON
{
  "hex": "#228552",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 82
  },
  "hsl": {
    "h": 149.091,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54786,
    "c": 0.11979,
    "h": 155.8
  },
  "luminance": 0.17724
}

Semantic roles & 50–950 ramp

primary
#228552
secondary
#B64D83
accent
#4596E2
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #228552

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

Preview Lab → · Contrast checker → · Palette generator →

#228552 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva