#228D3E#228D3E

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

Color values

HEX#228D3E
RGBrgb(34, 141, 62)
HSLhsl(136, 61%, 34%)
HSVhsv(136, 76%, 55%)
CMYKcmyk(75.9%, 0%, 56%, 44.7%)
CIE-LABlab(51.54, -47.06, 33.44)
CIE-LCHlch(51.54, 57.73, 144.60°)
OKLaboklab(56.65% -0.1266 0.0801)
OKLCHoklch(56.65% 0.15 147.7)
XYZxyz(11.0532, 19.7364, 7.7835)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D3E #8D2271
analogous
#3C8D22 #228D3E #228D74
triadic
#228D3E #3E228D #8D3E22
tetradic
#228D3E #223C8D #8D2271 #8D7422
square
#228D3E #223C8D #8D2271 #8D7422
split-complementary
#228D3E #74228D #8D223C
monochromatic
#0A2A13 #165C28 #228D3E #2EBE54 #54D676

Accessibility & contrast

On white

4.24
#228D3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##228D3E#FFFFFF#000000##000000
##228D3E1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228d3e;
/* rgb */ color: rgb(34, 141, 62);
/* oklch */ color: oklch(56.7% 0.150 147.7);
Tailwind
colors: {
  custom: {
    50: '#6faf75',
    500: '#228d3e',
    950: '#000000',
  },
}
SCSS
$custom: #228d3e;
$custom-light: #6faf75;
$custom-dark: #000000;
JSON
{
  "hex": "#228d3e",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 135.701,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56651,
    "c": 0.14981,
    "h": 147.7
  },
  "luminance": 0.19738
}

Semantic roles & 50–950 ramp

primary
#228D3E
secondary
#B9519E
accent
#44BAE4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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