#228322#228322

#228322 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.5% C 0.159 H 142.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#228322
RGBrgb(34, 131, 34)
HSLhsl(120, 59%, 32%)
HSVhsv(120, 74%, 51%)
CMYKcmyk(74%, 0%, 74%, 48.6%)
CIE-LABlab(47.86, -46.84, 42.23)
CIE-LCHlch(47.86, 63.07, 137.96°)
OKLaboklab(53.51% -0.1272 0.096)
OKLCHoklch(53.51% 0.159 142.9)
XYZxyz(9.0642, 16.6872, 4.2563)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228322 #832283
analogous
#538322 #228322 #228353
triadic
#228322 #222283 #832222
tetradic
#228322 #225383 #832283 #835322
square
#228322 #225383 #832283 #835322
split-complementary
#228322 #532283 #832253
monochromatic
#092209 #155215 #228322 #2FB42F #4ED14E

Accessibility & contrast

On white

4.84
#228322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#228322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228322
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228322#FFFFFF#000000##FFFFFF
##2283221.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867612
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228322;
/* rgb */ color: rgb(34, 131, 34);
/* oklch */ color: oklch(53.5% 0.159 142.9);
Tailwind
colors: {
  custom: {
    50: '#6da863',
    500: '#228322',
    950: '#000000',
  },
}
SCSS
$custom: #228322;
$custom-light: #6da863;
$custom-dark: #000000;
JSON
{
  "hex": "#228322",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53514,
    "c": 0.15933,
    "h": 142.9
  },
  "luminance": 0.16688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228322

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

Preview Lab → · Contrast checker → · Palette generator →

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