#22501A#22501A

#22501A is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.098 H 140.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#22501A
RGBrgb(34, 80, 26)
HSLhsl(111, 51%, 21%)
HSVhsv(111, 68%, 31%)
CMYKcmyk(57.5%, 0%, 67.5%, 68.6%)
CIE-LABlab(29.79, -27.70, 26.46)
CIE-LCHlch(29.79, 38.31, 136.31°)
OKLaboklab(38.55% -0.0758 0.0618)
OKLCHoklch(38.55% 0.098 140.8)
XYZxyz(3.7146, 6.1517, 1.9687)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22501A #481A50
analogous
#3D501A #22501A #1A502D
triadic
#22501A #1A2250 #501A22
tetradic
#22501A #1A3D50 #481A50 #502D1A
square
#22501A #1A3D50 #481A50 #502D1A
split-complementary
#22501A #2D1A50 #501A3D
monochromatic
#0A1708 #0E220B #22501A #367E29 #49AC38

Accessibility & contrast

On white

9.42
#22501A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#22501A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22501A
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22501A#FFFFFF#000000##FFFFFF
##22501A1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524914
Deuteranopia (green-blind)
#4C451E
Tritanopia (blue-blind)
#1D4D45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #22501a;
/* rgb */ color: rgb(34, 80, 26);
/* oklch */ color: oklch(38.5% 0.098 140.8);
Tailwind
colors: {
  custom: {
    50: '#628159',
    500: '#22501a',
    950: '#000000',
  },
}
SCSS
$custom: #22501a;
$custom-light: #628159;
$custom-dark: #000000;
JSON
{
  "hex": "#22501a",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 26
  },
  "hsl": {
    "h": 111.111,
    "s": 50.943,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38547,
    "c": 0.09775,
    "h": 140.8
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#22501A
secondary
#7C4086
accent
#4DDAC6
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #22501A

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

Preview Lab → · Contrast checker → · Palette generator →

#22501A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva