#22520B#22520B

#22520B is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.112 H 138.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#22520B
RGBrgb(34, 82, 11)
HSLhsl(101, 76%, 18%)
HSVhsv(101, 87%, 32%)
CMYKcmyk(58.5%, 0%, 86.6%, 67.8%)
CIE-LABlab(30.40, -29.96, 33.65)
CIE-LCHlch(30.40, 45.06, 131.68°)
OKLaboklab(39.01% -0.0829 0.0746)
OKLCHoklch(39.01% 0.112 138)
XYZxyz(3.7373, 6.3985, 1.3546)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22520B #3B0B52
analogous
#45520B #22520B #0B5217
triadic
#22520B #0B2252 #520B22
tetradic
#22520B #0B4552 #3B0B52 #52170B
square
#22520B #0B4552 #3B0B52 #52170B
split-complementary
#22520B #170B52 #520B45
monochromatic
#0B1B04 #0C1C04 #22520B #388812 #4FBE19

Accessibility & contrast

On white

9.21
#22520B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#22520B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22520B
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22520B#FFFFFF#000000##FFFFFF
##22520B1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#4F4613
Tritanopia (blue-blind)
#1E4F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #22520b;
/* rgb */ color: rgb(34, 82, 11);
/* oklch */ color: oklch(39.0% 0.112 138.0);
Tailwind
colors: {
  custom: {
    50: '#648351',
    500: '#22520b',
    950: '#000000',
  },
}
SCSS
$custom: #22520b;
$custom-light: #648351;
$custom-dark: #000000;
JSON
{
  "hex": "#22520b",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 11
  },
  "hsl": {
    "h": 100.563,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39006,
    "c": 0.11158,
    "h": 138
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#22520B
secondary
#6E2B8E
accent
#35F3B5
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #22520B

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

Preview Lab → · Contrast checker → · Palette generator →

#22520B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva