#22541B#22541B

#22541B is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.8% C 0.103 H 141.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#22541B
RGBrgb(34, 84, 27)
HSLhsl(113, 51%, 22%)
HSVhsv(113, 68%, 33%)
CMYKcmyk(59.5%, 0%, 67.9%, 67.1%)
CIE-LABlab(31.25, -29.36, 27.59)
CIE-LCHlch(31.25, 40.29, 136.78°)
OKLaboklab(39.75% -0.0802 0.0643)
OKLCHoklch(39.75% 0.103 141.3)
XYZxyz(4.0277, 6.7595, 2.1292)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22541B #4D1B54
analogous
#3F541B #22541B #1B5431
triadic
#22541B #1B2254 #541B22
tetradic
#22541B #1B3F54 #4D1B54 #54311B
square
#22541B #1B3F54 #4D1B54 #54311B
split-complementary
#22541B #311B54 #541B3F
monochromatic
#091707 #0F260C #22541B #35822A #47B139

Accessibility & contrast

On white

8.93
#22541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#22541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22541B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22541B#FFFFFF#000000##FFFFFF
##22541B1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C14
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#1C5148
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #22541b;
/* rgb */ color: rgb(34, 84, 27);
/* oklch */ color: oklch(39.8% 0.103 141.3);
Tailwind
colors: {
  custom: {
    50: '#63855a',
    500: '#22541b',
    950: '#000000',
  },
}
SCSS
$custom: #22541b;
$custom-light: #63855a;
$custom-dark: #000000;
JSON
{
  "hex": "#22541b",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 112.632,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39753,
    "c": 0.10278,
    "h": 141.3
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#22541B
secondary
#81418A
accent
#4DDBC9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #22541B

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

Preview Lab → · Contrast checker → · Palette generator →

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