#226221#226221

#226221 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.0% C 0.118 H 143.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#226221
RGBrgb(34, 98, 33)
HSLhsl(119, 50%, 26%)
HSVhsv(119, 66%, 38%)
CMYKcmyk(65.3%, 0%, 66.3%, 61.6%)
CIE-LABlab(36.34, -34.55, 30.29)
CIE-LCHlch(36.34, 45.95, 138.76°)
OKLaboklab(43.97% -0.0939 0.0707)
OKLCHoklch(43.97% 0.118 143)
XYZxyz(5.3016, 9.1847, 2.9320)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226221 #612162
analogous
#426221 #226221 #216240
triadic
#226221 #212262 #622122
tetradic
#226221 #214262 #612162 #624021
square
#226221 #214262 #612162 #624021
split-complementary
#226221 #402162 #622142
monochromatic
#081708 #123412 #226221 #329030 #42BE40

Accessibility & contrast

On white

7.40
#226221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#226221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226221
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226221#FFFFFF#000000##FFFFFF
##2262211.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591A
Deuteranopia (green-blind)
#5C5326
Tritanopia (blue-blind)
#165F54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #226221;
/* rgb */ color: rgb(34, 98, 33);
/* oklch */ color: oklch(44.0% 0.118 143.0);
Tailwind
colors: {
  custom: {
    50: '#668f5f',
    500: '#226221',
    950: '#000000',
  },
}
SCSS
$custom: #226221;
$custom-light: #668f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#226221",
  "rgb": {
    "r": 34,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 119.077,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.43967,
    "c": 0.11756,
    "h": 143
  },
  "luminance": 0.09185
}

Semantic roles & 50–950 ramp

primary
#226221
secondary
#954996
accent
#4FD9D7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #226221

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

Preview Lab → · Contrast checker → · Palette generator →

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