#226322#226322

#226322 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.3% C 0.118 H 143.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#226322
RGBrgb(34, 99, 34)
HSLhsl(120, 49%, 26%)
HSVhsv(120, 66%, 39%)
CMYKcmyk(65.7%, 0%, 65.7%, 61.2%)
CIE-LABlab(36.70, -34.84, 30.21)
CIE-LCHlch(36.70, 46.11, 139.07°)
OKLaboklab(44.27% -0.0946 0.0706)
OKLCHoklch(44.27% 0.118 143.3)
XYZxyz(5.4100, 9.3787, 3.0382)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226322 #632263
analogous
#426322 #226322 #226342
triadic
#226322 #222263 #632222
tetradic
#226322 #224263 #632263 #634222
square
#226322 #224263 #632263 #634222
split-complementary
#226322 #422263 #632242
monochromatic
#081708 #123512 #226322 #329132 #41BE41

Accessibility & contrast

On white

7.30
#226322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#226322 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226322
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226322#FFFFFF#000000##FFFFFF
##2263221.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A1B
Deuteranopia (green-blind)
#5D5427
Tritanopia (blue-blind)
#156055
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #226322;
/* rgb */ color: rgb(34, 99, 34);
/* oklch */ color: oklch(44.3% 0.118 143.3);
Tailwind
colors: {
  custom: {
    50: '#669060',
    500: '#226322',
    950: '#000000',
  },
}
SCSS
$custom: #226322;
$custom-light: #669060;
$custom-dark: #000000;
JSON
{
  "hex": "#226322",
  "rgb": {
    "r": 34,
    "g": 99,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44273,
    "c": 0.11809,
    "h": 143.3
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#226322
secondary
#974A97
accent
#4FD8D8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #226322

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

Preview Lab → · Contrast checker → · Palette generator →

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