#228548#228548

#228548 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.130 H 151.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#228548
RGBrgb(34, 133, 72)
HSLhsl(143, 59%, 33%)
HSVhsv(143, 74%, 52%)
CMYKcmyk(74.4%, 0%, 45.9%, 47.8%)
CIE-LABlab(48.98, -42.38, 24.97)
CIE-LCHlch(48.98, 49.19, 149.49°)
OKLaboklab(54.59% -0.1141 0.0615)
OKLCHoklch(54.59% 0.13 151.7)
XYZxyz(10.2160, 17.5819, 8.9849)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228548 #85225F
analogous
#2E8522 #228548 #228579
triadic
#228548 #482285 #854822
tetradic
#228548 #222E85 #85225F #857922
square
#228548 #222E85 #85225F #857922
split-complementary
#228548 #792285 #85222E
monochromatic
#092413 #16542E #228548 #2EB662 #4FD282

Accessibility & contrast

On white

4.65
#228548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#228548 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228548
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228548#FFFFFF#000000##FFFFFF
##2285481.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857943
Deuteranopia (green-blind)
#7A714C
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228548;
/* rgb */ color: rgb(34, 133, 72);
/* oklch */ color: oklch(54.6% 0.130 151.7);
Tailwind
colors: {
  custom: {
    50: '#6ca97c',
    500: '#228548',
    950: '#000000',
  },
}
SCSS
$custom: #228548;
$custom-light: #6ca97c;
$custom-dark: #000000;
JSON
{
  "hex": "#228548",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 72
  },
  "hsl": {
    "h": 143.03,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54586,
    "c": 0.12959,
    "h": 151.7
  },
  "luminance": 0.17583
}

Semantic roles & 50–950 ramp

primary
#228548
secondary
#B64D8E
accent
#45A6E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #228548

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

Preview Lab → · Contrast checker → · Palette generator →

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