#228221#228221

#228221 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.159 H 142.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#228221
RGBrgb(34, 130, 33)
HSLhsl(119, 60%, 32%)
HSVhsv(119, 75%, 51%)
CMYKcmyk(73.8%, 0%, 74.6%, 49%)
CIE-LABlab(47.51, -46.58, 42.27)
CIE-LCHlch(47.51, 62.90, 137.78°)
OKLaboklab(53.22% -0.1265 0.0959)
OKLCHoklch(53.22% 0.159 142.8)
XYZxyz(8.9163, 16.4142, 4.1369)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228221 #812182
analogous
#538221 #228221 #218250
triadic
#228221 #212282 #822122
tetradic
#228221 #215382 #812182 #825021
square
#228221 #215382 #812182 #825021
split-complementary
#228221 #502182 #822153
monochromatic
#082008 #155115 #228221 #2FB32D #4DD24C

Accessibility & contrast

On white

4.90
#228221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#228221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228221
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228221#FFFFFF#000000##FFFFFF
##2282211.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857510
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#017E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228221;
/* rgb */ color: rgb(34, 130, 33);
/* oklch */ color: oklch(53.2% 0.159 142.8);
Tailwind
colors: {
  custom: {
    50: '#6da763',
    500: '#228221',
    950: '#000000',
  },
}
SCSS
$custom: #228221;
$custom-light: #6da763;
$custom-dark: #000000;
JSON
{
  "hex": "#228221",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 119.381,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53221,
    "c": 0.15877,
    "h": 142.8
  },
  "luminance": 0.16415
}

Semantic roles & 50–950 ramp

primary
#228221
secondary
#B34AB4
accent
#45E3E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #228221

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

Preview Lab → · Contrast checker → · Palette generator →

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