#228D54#228D54

#228D54 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.129 H 154.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#228D54
RGBrgb(34, 141, 84)
HSLhsl(148, 61%, 34%)
HSVhsv(148, 76%, 55%)
CMYKcmyk(75.9%, 0%, 40.4%, 44.7%)
CIE-LABlab(51.87, -43.22, 22.12)
CIE-LCHlch(51.87, 48.56, 152.90°)
OKLaboklab(57.03% -0.1166 0.0551)
OKLCHoklch(57.03% 0.129 154.7)
XYZxyz(11.7837, 20.0285, 11.6306)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D54 #8D225B
analogous
#268D22 #228D54 #228D8A
triadic
#228D54 #54228D #8D5422
tetradic
#228D54 #22268D #8D225B #8D8A22
square
#228D54 #22268D #8D225B #8D8A22
split-complementary
#228D54 #8A228D #8D2226
monochromatic
#0A2A19 #165C37 #228D54 #2EBE71 #54D690

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228D54#FFFFFF#000000##000000
##228D541.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)
#8D8150
Deuteranopia (green-blind)
#807858
Tritanopia (blue-blind)
#008B7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228d54;
/* rgb */ color: rgb(34, 141, 84);
/* oklch */ color: oklch(57.0% 0.129 154.7);
Tailwind
colors: {
  custom: {
    50: '#6eaf84',
    500: '#228d54',
    950: '#000000',
  },
}
SCSS
$custom: #228d54;
$custom-light: #6eaf84;
$custom-dark: #000000;
JSON
{
  "hex": "#228d54",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 84
  },
  "hsl": {
    "h": 148.037,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57033,
    "c": 0.12896,
    "h": 154.7
  },
  "luminance": 0.2003
}

Semantic roles & 50–950 ramp

primary
#228D54
secondary
#B95189
accent
#4499E4
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #228D54

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

Preview Lab → · Contrast checker → · Palette generator →

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