#228D51#228D51

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

Color values

HEX#228D51
RGBrgb(34, 141, 81)
HSLhsl(146, 61%, 34%)
HSVhsv(146, 76%, 55%)
CMYKcmyk(75.9%, 0%, 42.6%, 44.7%)
CIE-LABlab(51.82, -43.81, 23.71)
CIE-LCHlch(51.82, 49.82, 151.58°)
OKLaboklab(56.97% -0.118 0.0588)
OKLCHoklch(56.97% 0.132 153.5)
XYZxyz(11.6687, 19.9826, 11.0250)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D51 #8D225E
analogous
#298D22 #228D51 #228D87
triadic
#228D51 #51228D #8D5122
tetradic
#228D51 #22298D #8D225E #8D8722
square
#228D51 #22298D #8D225E #8D8722
split-complementary
#228D51 #87228D #8D2229
monochromatic
#0A2A18 #165C35 #228D51 #2EBE6D #54D68D

Accessibility & contrast

On white

4.20
#228D51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#228D51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D51
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D51#FFFFFF#000000##000000
##228D511.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814D
Deuteranopia (green-blind)
#807855
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228d51;
/* rgb */ color: rgb(34, 141, 81);
/* oklch */ color: oklch(57.0% 0.132 153.5);
Tailwind
colors: {
  custom: {
    50: '#6eaf82',
    500: '#228d51',
    950: '#000000',
  },
}
SCSS
$custom: #228d51;
$custom-light: #6eaf82;
$custom-dark: #000000;
JSON
{
  "hex": "#228d51",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 81
  },
  "hsl": {
    "h": 146.355,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56973,
    "c": 0.13186,
    "h": 153.5
  },
  "luminance": 0.19984
}

Semantic roles & 50–950 ramp

primary
#228D51
secondary
#B9518C
accent
#449EE4
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228D51

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

Preview Lab → · Contrast checker → · Palette generator →

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