#225B22#225B22

#225B22 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.107 H 143.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#225B22
RGBrgb(34, 91, 34)
HSLhsl(120, 46%, 25%)
HSVhsv(120, 63%, 36%)
CMYKcmyk(62.6%, 0%, 62.6%, 64.3%)
CIE-LABlab(33.85, -31.50, 26.93)
CIE-LCHlch(33.85, 41.44, 139.47°)
OKLaboklab(41.92% -0.0856 0.0636)
OKLCHoklch(41.92% 0.107 143.4)
XYZxyz(4.6892, 7.9373, 2.7980)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225B22 #5B225B
analogous
#3F5B22 #225B22 #225B3F
triadic
#225B22 #22225B #5B2222
tetradic
#225B22 #223F5B #5B225B #5B3F22
square
#225B22 #223F5B #5B225B #5B3F22
split-complementary
#225B22 #3F225B #5B223F
monochromatic
#081608 #112E11 #225B22 #338833 #43B443

Accessibility & contrast

On white

8.12
#225B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#225B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225B22
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225B22#FFFFFF#000000##FFFFFF
##225B221.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D531C
Deuteranopia (green-blind)
#564E26
Tritanopia (blue-blind)
#18584F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #225b22;
/* rgb */ color: rgb(34, 91, 34);
/* oklch */ color: oklch(41.9% 0.107 143.4);
Tailwind
colors: {
  custom: {
    50: '#648a5f',
    500: '#225b22',
    950: '#000000',
  },
}
SCSS
$custom: #225b22;
$custom-light: #648a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#225b22",
  "rgb": {
    "r": 34,
    "g": 91,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 45.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.4192,
    "c": 0.10663,
    "h": 143.4
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#225B22
secondary
#8F4A8F
accent
#53D5D5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #225B22

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

Preview Lab → · Contrast checker → · Palette generator →

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