#228422#228422

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

Color values

HEX#228422
RGBrgb(34, 132, 34)
HSLhsl(120, 59%, 33%)
HSVhsv(120, 74%, 52%)
CMYKcmyk(74.2%, 0%, 74.2%, 48.2%)
CIE-LABlab(48.21, -47.18, 42.58)
CIE-LCHlch(48.21, 63.56, 137.93°)
OKLaboklab(53.8% -0.1281 0.0968)
OKLCHoklch(53.8% 0.161 142.9)
XYZxyz(9.1991, 16.9571, 4.3013)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228422 #842284
analogous
#538422 #228422 #228453
triadic
#228422 #222284 #842222
tetradic
#228422 #225384 #842284 #845322
square
#228422 #225384 #842284 #845322
split-complementary
#228422 #532284 #842253
monochromatic
#092309 #155315 #228422 #2FB52F #4FD24F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228422#FFFFFF#000000##FFFFFF
##2284221.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)
#877711
Deuteranopia (green-blind)
#7C6F2C
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228422;
/* rgb */ color: rgb(34, 132, 34);
/* oklch */ color: oklch(53.8% 0.161 142.9);
Tailwind
colors: {
  custom: {
    50: '#6ea963',
    500: '#228422',
    950: '#000000',
  },
}
SCSS
$custom: #228422;
$custom-light: #6ea963;
$custom-dark: #000000;
JSON
{
  "hex": "#228422",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53799,
    "c": 0.16052,
    "h": 142.9
  },
  "luminance": 0.16958
}

Semantic roles & 50–950 ramp

primary
#228422
secondary
#B54DB5
accent
#46E2E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228422

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

Preview Lab → · Contrast checker → · Palette generator →

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