#228424#228424

#228424 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.159 H 143.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#228424
RGBrgb(34, 132, 36)
HSLhsl(121, 59%, 33%)
HSVhsv(121, 74%, 52%)
CMYKcmyk(74.2%, 0%, 72.7%, 48.2%)
CIE-LABlab(48.22, -47.00, 41.79)
CIE-LCHlch(48.22, 62.90, 138.36°)
OKLaboklab(53.82% -0.1275 0.0954)
OKLCHoklch(53.82% 0.159 143.2)
XYZxyz(9.2288, 16.9690, 4.4577)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228424 #842282
analogous
#518422 #228424 #228455
triadic
#228424 #242284 #842422
tetradic
#228424 #225184 #842282 #845522
square
#228424 #225184 #842282 #845522
split-complementary
#228424 #552284 #842251
monochromatic
#092309 #155317 #228424 #2FB531 #4FD251

Accessibility & contrast

On white

4.78
#228424 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#228424 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228424
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228424#FFFFFF#000000##FFFFFF
##2284241.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877715
Deuteranopia (green-blind)
#7C6F2E
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228424;
/* rgb */ color: rgb(34, 132, 36);
/* oklch */ color: oklch(53.8% 0.159 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ea965',
    500: '#228424',
    950: '#000000',
  },
}
SCSS
$custom: #228424;
$custom-light: #6ea965;
$custom-dark: #000000;
JSON
{
  "hex": "#228424",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 36
  },
  "hsl": {
    "h": 121.224,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53816,
    "c": 0.15922,
    "h": 143.2
  },
  "luminance": 0.1697
}

Semantic roles & 50–950 ramp

primary
#228424
secondary
#B54DB3
accent
#46DFE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228424

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

Preview Lab → · Contrast checker → · Palette generator →

#228424 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva