#228D3D#228D3D

#228D3D is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.151 H 147.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#228D3D
RGBrgb(34, 141, 61)
HSLhsl(135, 61%, 34%)
HSVhsv(135, 76%, 55%)
CMYKcmyk(75.9%, 0%, 56.7%, 44.7%)
CIE-LABlab(51.53, -47.20, 33.93)
CIE-LCHlch(51.53, 58.13, 144.29°)
OKLaboklab(56.64% -0.127 0.0811)
OKLCHoklch(56.64% 0.151 147.5)
XYZxyz(11.0260, 19.7255, 7.6403)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D3D #8D2272
analogous
#3D8D22 #228D3D #228D73
triadic
#228D3D #3D228D #8D3D22
tetradic
#228D3D #223D8D #8D2272 #8D7322
square
#228D3D #223D8D #8D2272 #8D7322
split-complementary
#228D3D #73228D #8D223D
monochromatic
#0A2A12 #165C28 #228D3D #2EBE52 #54D675

Accessibility & contrast

On white

4.25
#228D3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#228D3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D3D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D3D#FFFFFF#000000##000000
##228D3D1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8035
Deuteranopia (green-blind)
#827743
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d3d;
/* rgb */ color: rgb(34, 141, 61);
/* oklch */ color: oklch(56.6% 0.151 147.5);
Tailwind
colors: {
  custom: {
    50: '#6faf75',
    500: '#228d3d',
    950: '#000000',
  },
}
SCSS
$custom: #228d3d;
$custom-light: #6faf75;
$custom-dark: #000000;
JSON
{
  "hex": "#228d3d",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 61
  },
  "hsl": {
    "h": 135.14,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56636,
    "c": 0.1507,
    "h": 147.5
  },
  "luminance": 0.19727
}

Semantic roles & 50–950 ramp

primary
#228D3D
secondary
#B9519F
accent
#44BCE4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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