#226522#226522

#226522 is a dark, vivid green. Relative luminance 0.098; OKLCH L 44.9% C 0.121 H 143.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#226522
RGBrgb(34, 101, 34)
HSLhsl(120, 50%, 26%)
HSVhsv(120, 66%, 40%)
CMYKcmyk(66.3%, 0%, 66.3%, 60.4%)
CIE-LABlab(37.41, -35.65, 31.01)
CIE-LCHlch(37.41, 47.24, 138.98°)
OKLaboklab(44.86% -0.0968 0.0724)
OKLCHoklch(44.86% 0.121 143.2)
XYZxyz(5.6018, 9.7624, 3.1022)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226522 #652265
analogous
#446522 #226522 #226544
triadic
#226522 #222265 #652222
tetradic
#226522 #224465 #652265 #654422
square
#226522 #224465 #652265 #654422
split-complementary
#226522 #442265 #652244
monochromatic
#081708 #133713 #226522 #319331 #42BF42

Accessibility & contrast

On white

7.11
#226522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#226522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226522
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226522#FFFFFF#000000##FFFFFF
##2265221.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B1A
Deuteranopia (green-blind)
#5F5628
Tritanopia (blue-blind)
#146257
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #226522;
/* rgb */ color: rgb(34, 101, 34);
/* oklch */ color: oklch(44.9% 0.121 143.2);
Tailwind
colors: {
  custom: {
    50: '#669260',
    500: '#226522',
    950: '#000000',
  },
}
SCSS
$custom: #226522;
$custom-light: #669260;
$custom-dark: #000000;
JSON
{
  "hex": "#226522",
  "rgb": {
    "r": 34,
    "g": 101,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.44858,
    "c": 0.12087,
    "h": 143.2
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

primary
#226522
secondary
#994A99
accent
#4FD9D9
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #226522

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

Preview Lab → · Contrast checker → · Palette generator →

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