#225A22#225A22

#225A22 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.6% C 0.105 H 143.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#225A22
RGBrgb(34, 90, 34)
HSLhsl(120, 45%, 24%)
HSVhsv(120, 62%, 35%)
CMYKcmyk(62.2%, 0%, 62.2%, 64.7%)
CIE-LABlab(33.49, -31.07, 26.51)
CIE-LCHlch(33.49, 40.84, 139.52°)
OKLaboklab(41.63% -0.0844 0.0627)
OKLCHoklch(41.63% 0.105 143.4)
XYZxyz(4.6043, 7.7675, 2.7697)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225A22 #5A225A
analogous
#3E5A22 #225A22 #225A3E
triadic
#225A22 #22225A #5A2222
tetradic
#225A22 #223E5A #5A225A #5A3E22
square
#225A22 #223E5A #5A225A #5A3E22
split-complementary
#225A22 #3E225A #5A223E
monochromatic
#081608 #112E11 #225A22 #338633 #44B344

Accessibility & contrast

On white

8.22
#225A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#225A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225A22
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225A22#FFFFFF#000000##FFFFFF
##225A221.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C521C
Deuteranopia (green-blind)
#554D26
Tritanopia (blue-blind)
#18574E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #225a22;
/* rgb */ color: rgb(34, 90, 34);
/* oklch */ color: oklch(41.6% 0.105 143.4);
Tailwind
colors: {
  custom: {
    50: '#64895f',
    500: '#225a22',
    950: '#000000',
  },
}
SCSS
$custom: #225a22;
$custom-light: #64895f;
$custom-dark: #000000;
JSON
{
  "hex": "#225a22",
  "rgb": {
    "r": 34,
    "g": 90,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 45.161,
    "l": 24.314
  },
  "oklch": {
    "l": 0.41625,
    "c": 0.10516,
    "h": 143.4
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#225A22
secondary
#8E4A8E
accent
#53D5D5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #225A22

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

Preview Lab → · Contrast checker → · Palette generator →

#225A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva