#228D2D#228D2D

#228D2D is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.164 H 144.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#228D2D
RGBrgb(34, 141, 45)
HSLhsl(126, 61%, 34%)
HSVhsv(126, 76%, 55%)
CMYKcmyk(75.9%, 0%, 68.1%, 44.7%)
CIE-LABlab(51.36, -49.22, 41.32)
CIE-LCHlch(51.36, 64.27, 139.99°)
OKLaboklab(56.44% -0.1331 0.0955)
OKLCHoklch(56.44% 0.164 144.3)
XYZxyz(10.6575, 19.5781, 5.6994)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D2D #8D2282
analogous
#4D8D22 #228D2D #228D63
triadic
#228D2D #2D228D #8D2D22
tetradic
#228D2D #224D8D #8D2282 #8D6322
square
#228D2D #224D8D #8D2282 #8D6322
split-complementary
#228D2D #63228D #8D224D
monochromatic
#0A2A0E #165C1D #228D2D #2EBE3D #54D661

Accessibility & contrast

On white

4.27
#228D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#228D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D2D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D2D#FFFFFF#000000##000000
##228D2D1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F20
Deuteranopia (green-blind)
#847736
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228d2d;
/* rgb */ color: rgb(34, 141, 45);
/* oklch */ color: oklch(56.4% 0.164 144.3);
Tailwind
colors: {
  custom: {
    50: '#6faf6b',
    500: '#228d2d',
    950: '#000000',
  },
}
SCSS
$custom: #228d2d;
$custom-light: #6faf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#228d2d",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 126.168,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.1638,
    "h": 144.3
  },
  "luminance": 0.19579
}

Semantic roles & 50–950 ramp

primary
#228D2D
secondary
#B951AF
accent
#44D4E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #228D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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