#225F22#225F22

#225F22 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.112 H 143.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#225F22
RGBrgb(34, 95, 34)
HSLhsl(120, 47%, 25%)
HSVhsv(120, 64%, 37%)
CMYKcmyk(64.2%, 0%, 64.2%, 62.7%)
CIE-LABlab(35.28, -33.19, 28.58)
CIE-LCHlch(35.28, 43.80, 139.26°)
OKLaboklab(43.1% -0.0902 0.0672)
OKLCHoklch(43.1% 0.112 143.3)
XYZxyz(5.0403, 8.6395, 2.9150)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225F22 #5F225F
analogous
#405F22 #225F22 #225F40
triadic
#225F22 #22225F #5F2222
tetradic
#225F22 #22405F #5F225F #5F4022
square
#225F22 #22405F #5F225F #5F4022
split-complementary
#225F22 #40225F #5F2240
monochromatic
#081708 #123212 #225F22 #328C32 #42B942

Accessibility & contrast

On white

7.70
#225F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#225F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225F22
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225F22#FFFFFF#000000##FFFFFF
##225F221.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561B
Deuteranopia (green-blind)
#595127
Tritanopia (blue-blind)
#175C52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225f22;
/* rgb */ color: rgb(34, 95, 34);
/* oklch */ color: oklch(43.1% 0.112 143.3);
Tailwind
colors: {
  custom: {
    50: '#658d5f',
    500: '#225f22',
    950: '#000000',
  },
}
SCSS
$custom: #225f22;
$custom-light: #658d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#225f22",
  "rgb": {
    "r": 34,
    "g": 95,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.43098,
    "c": 0.11243,
    "h": 143.3
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

primary
#225F22
secondary
#934A93
accent
#51D7D7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #225F22

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

Preview Lab → · Contrast checker → · Palette generator →

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