#22520E#22520E

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

Color values

HEX#22520E
RGBrgb(34, 82, 14)
HSLhsl(102, 71%, 19%)
HSVhsv(102, 83%, 32%)
CMYKcmyk(58.5%, 0%, 82.9%, 67.8%)
CIE-LABlab(30.41, -29.76, 32.58)
CIE-LCHlch(30.41, 44.12, 132.41°)
OKLaboklab(39.03% -0.0822 0.0729)
OKLCHoklch(39.03% 0.11 138.4)
XYZxyz(3.7561, 6.4061, 1.4539)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22520E #3E0E52
analogous
#44520E #22520E #0E521C
triadic
#22520E #0E2252 #520E22
tetradic
#22520E #0E4452 #3E0E52 #521C0E
square
#22520E #0E4452 #3E0E52 #521C0E
split-complementary
#22520E #1C0E52 #520E44
monochromatic
#0B1A04 #0C1E05 #22520E #388617 #4DBB20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22520E#FFFFFF#000000##FFFFFF
##22520E1.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)
#554A02
Deuteranopia (green-blind)
#4F4615
Tritanopia (blue-blind)
#1E4F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #22520e;
/* rgb */ color: rgb(34, 82, 14);
/* oklch */ color: oklch(39.0% 0.110 138.4);
Tailwind
colors: {
  custom: {
    50: '#638352',
    500: '#22520e',
    950: '#000000',
  },
}
SCSS
$custom: #22520e;
$custom-light: #638352;
$custom-dark: #000000;
JSON
{
  "hex": "#22520e",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 14
  },
  "hsl": {
    "h": 102.353,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39027,
    "c": 0.10985,
    "h": 138.4
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#22520E
secondary
#712F8C
accent
#3AEEB9
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #22520E

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

Preview Lab → · Contrast checker → · Palette generator →

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