#228622#228622

#228622 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.163 H 142.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#228622
RGBrgb(34, 134, 34)
HSLhsl(120, 60%, 33%)
HSVhsv(120, 75%, 53%)
CMYKcmyk(74.6%, 0%, 74.6%, 47.5%)
CIE-LABlab(48.89, -47.88, 43.29)
CIE-LCHlch(48.89, 64.54, 137.88°)
OKLaboklab(54.37% -0.13 0.0982)
OKLCHoklch(54.37% 0.163 142.9)
XYZxyz(9.4729, 17.5047, 4.3926)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228622 #862286
analogous
#548622 #228622 #228654
triadic
#228622 #222286 #862222
tetradic
#228622 #225486 #862286 #865422
square
#228622 #225486 #862286 #865422
split-complementary
#228622 #542286 #862254
monochromatic
#092409 #165516 #228622 #2EB72E #50D350

Accessibility & contrast

On white

4.67
#228622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#228622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228622
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228622#FFFFFF#000000##FFFFFF
##2286221.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897910
Deuteranopia (green-blind)
#7E712C
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228622;
/* rgb */ color: rgb(34, 134, 34);
/* oklch */ color: oklch(54.4% 0.163 142.9);
Tailwind
colors: {
  custom: {
    50: '#6eaa64',
    500: '#228622',
    950: '#000000',
  },
}
SCSS
$custom: #228622;
$custom-light: #6eaa64;
$custom-dark: #000000;
JSON
{
  "hex": "#228622",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54366,
    "c": 0.1629,
    "h": 142.9
  },
  "luminance": 0.17506
}

Semantic roles & 50–950 ramp

primary
#228622
secondary
#B64EB6
accent
#45E3E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228622

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

Preview Lab → · Contrast checker → · Palette generator →

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