#22540D#22540D

#22540D is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.113 H 138.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#22540D
RGBrgb(34, 84, 13)
HSLhsl(102, 73%, 19%)
HSVhsv(102, 85%, 33%)
CMYKcmyk(59.5%, 0%, 84.5%, 67.1%)
CIE-LABlab(31.14, -30.68, 33.65)
CIE-LCHlch(31.14, 45.53, 132.36°)
OKLaboklab(39.62% -0.0847 0.075)
OKLCHoklch(39.62% 0.113 138.5)
XYZxyz(3.9025, 6.7095, 1.4701)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22540D #3F0D54
analogous
#46540D #22540D #0D541C
triadic
#22540D #0D2254 #540D22
tetradic
#22540D #0D4654 #3F0D54 #541C0D
square
#22540D #0D4654 #3F0D54 #541C0D
split-complementary
#22540D #1C0D54 #540D46
monochromatic
#0B1A04 #0D1F05 #22540D #378915 #4DBE1D

Accessibility & contrast

On white

8.97
#22540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#22540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22540D
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22540D#FFFFFF#000000##FFFFFF
##22540D1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#1D5147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #22540d;
/* rgb */ color: rgb(34, 84, 13);
/* oklch */ color: oklch(39.6% 0.113 138.5);
Tailwind
colors: {
  custom: {
    50: '#648552',
    500: '#22540d',
    950: '#000000',
  },
}
SCSS
$custom: #22540d;
$custom-light: #648552;
$custom-dark: #000000;
JSON
{
  "hex": "#22540d",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 102.254,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3962,
    "c": 0.11313,
    "h": 138.5
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

primary
#22540D
secondary
#722E8F
accent
#38F0B9
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #22540D

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

Preview Lab → · Contrast checker → · Palette generator →

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