#22520D#22520D

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

Color values

HEX#22520D
RGBrgb(34, 82, 13)
HSLhsl(102, 73%, 19%)
HSVhsv(102, 84%, 32%)
CMYKcmyk(58.5%, 0%, 84.1%, 67.8%)
CIE-LABlab(30.41, -29.83, 32.95)
CIE-LCHlch(30.41, 44.44, 132.15°)
OKLaboklab(39.02% -0.0824 0.0735)
OKLCHoklch(39.02% 0.11 138.3)
XYZxyz(3.7495, 6.4034, 1.4191)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22520D #3D0D52
analogous
#44520D #22520D #0D521A
triadic
#22520D #0D2252 #520D22
tetradic
#22520D #0D4452 #3D0D52 #521A0D
square
#22520D #0D4452 #3D0D52 #521A0D
split-complementary
#22520D #1A0D52 #520D44
monochromatic
#0B1A04 #0C1D05 #22520D #388715 #4EBC1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22520D#FFFFFF#000000##FFFFFF
##22520D1.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)
#4F4615
Tritanopia (blue-blind)
#1E4F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #22520d;
/* rgb */ color: rgb(34, 82, 13);
/* oklch */ color: oklch(39.0% 0.110 138.3);
Tailwind
colors: {
  custom: {
    50: '#638352',
    500: '#22520d',
    950: '#000000',
  },
}
SCSS
$custom: #22520d;
$custom-light: #638352;
$custom-dark: #000000;
JSON
{
  "hex": "#22520d",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 101.739,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39019,
    "c": 0.11045,
    "h": 138.3
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#22520D
secondary
#702E8D
accent
#38EFB8
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #22520D

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

Preview Lab → · Contrast checker → · Palette generator →

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