#228D4B#228D4B

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

Color values

HEX#228D4B
RGBrgb(34, 141, 75)
HSLhsl(143, 61%, 34%)
HSVhsv(143, 76%, 55%)
CMYKcmyk(75.9%, 0%, 46.8%, 44.7%)
CIE-LABlab(51.72, -44.93, 26.85)
CIE-LCHlch(51.72, 52.34, 149.14°)
OKLaboklab(56.86% -0.1209 0.0659)
OKLCHoklch(56.86% 0.138 151.4)
XYZxyz(11.4536, 19.8965, 9.8920)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D4B #8D2264
analogous
#2E8D22 #228D4B #228D81
triadic
#228D4B #4B228D #8D4B22
tetradic
#228D4B #222E8D #8D2264 #8D8122
square
#228D4B #222E8D #8D2264 #8D8122
split-complementary
#228D4B #81228D #8D222E
monochromatic
#0A2A17 #165C31 #228D4B #2EBE65 #54D686

Accessibility & contrast

On white

4.22
#228D4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#228D4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D4B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D4B#FFFFFF#000000##000000
##228D4B1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228d4b;
/* rgb */ color: rgb(34, 141, 75);
/* oklch */ color: oklch(56.9% 0.138 151.4);
Tailwind
colors: {
  custom: {
    50: '#6eaf7e',
    500: '#228d4b',
    950: '#000000',
  },
}
SCSS
$custom: #228d4b;
$custom-light: #6eaf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#228d4b",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 75
  },
  "hsl": {
    "h": 142.991,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56861,
    "c": 0.13766,
    "h": 151.4
  },
  "luminance": 0.19898
}

Semantic roles & 50–950 ramp

primary
#228D4B
secondary
#B95192
accent
#44A7E4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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