#22241A#22241A

#22241A is a dark, near-neutral yellow-green. Relative luminance 0.017; OKLCH L 25.5% C 0.018 H 116.9°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#22241A
RGBrgb(34, 36, 26)
HSLhsl(72, 16%, 12%)
HSVhsv(72, 28%, 14%)
CMYKcmyk(5.6%, 0%, 27.8%, 85.9%)
CIE-LABlab(13.69, -3.19, 6.40)
CIE-LCHlch(13.69, 7.15, 116.53°)
OKLaboklab(25.48% -0.0083 0.0163)
OKLCHoklch(25.48% 0.018 116.9)
XYZxyz(1.4770, 1.6764, 1.2229)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22241A #1C1A24
analogous
#24211A #22241A #1D241A
triadic
#22241A #1A2224 #241A22
tetradic
#22241A #1A2421 #1C1A24 #241A1D
square
#22241A #1A2421 #1C1A24 #241A1D
split-complementary
#22241A #1A1D24 #211A24
monochromatic
#11120D #11120D #22241A #444834 #656B4D

Accessibility & contrast

On white

15.73
#22241A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#22241A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22241A
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22241A#FFFFFF#000000##FFFFFF
##22241A1.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252319
Deuteranopia (green-blind)
#25231A
Tritanopia (blue-blind)
#232321
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #22241a;
/* rgb */ color: rgb(34, 36, 26);
/* oklch */ color: oklch(25.5% 0.018 116.9);
Tailwind
colors: {
  custom: {
    50: '#5d5e56',
    500: '#22241a',
    950: '#000000',
  },
}
SCSS
$custom: #22241a;
$custom-light: #5d5e56;
$custom-dark: #000000;
JSON
{
  "hex": "#22241a",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 26
  },
  "hsl": {
    "h": 72,
    "s": 16.129,
    "l": 12.157
  },
  "oklch": {
    "l": 0.25479,
    "c": 0.01829,
    "h": 116.9
  },
  "luminance": 0.01676
}

Semantic roles & 50–950 ramp

primary
#22241A
secondary
#484456
accent
#6FB97E
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #22241A

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

Preview Lab → · Contrast checker → · Palette generator →

#22241A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva