#228D4D#228D4D

#228D4D is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.136 H 152.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#228D4D
RGBrgb(34, 141, 77)
HSLhsl(144, 61%, 34%)
HSVhsv(144, 76%, 55%)
CMYKcmyk(75.9%, 0%, 45.4%, 44.7%)
CIE-LABlab(51.75, -44.57, 25.81)
CIE-LCHlch(51.75, 51.50, 149.93°)
OKLaboklab(56.9% -0.1199 0.0636)
OKLCHoklch(56.9% 0.136 152.1)
XYZxyz(11.5231, 19.9243, 10.2582)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D4D #8D2262
analogous
#2D8D22 #228D4D #228D83
triadic
#228D4D #4D228D #8D4D22
tetradic
#228D4D #222D8D #8D2262 #8D8322
square
#228D4D #222D8D #8D2262 #8D8322
split-complementary
#228D4D #83228D #8D222D
monochromatic
#0A2A17 #165C32 #228D4D #2EBE68 #54D688

Accessibility & contrast

On white

4.21
#228D4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#228D4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D4D
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D4D#FFFFFF#000000##000000
##228D4D1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8148
Deuteranopia (green-blind)
#817851
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d4d;
/* rgb */ color: rgb(34, 141, 77);
/* oklch */ color: oklch(56.9% 0.136 152.1);
Tailwind
colors: {
  custom: {
    50: '#6eaf7f',
    500: '#228d4d',
    950: '#000000',
  },
}
SCSS
$custom: #228d4d;
$custom-light: #6eaf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#228d4d",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 77
  },
  "hsl": {
    "h": 144.112,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56897,
    "c": 0.13573,
    "h": 152.1
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#228D4D
secondary
#B95190
accent
#44A4E4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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