#22241E#22241E

#22241E is a dark, near-neutral yellow-green. Relative luminance 0.017; OKLCH L 25.6% C 0.011 H 122.2°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#22241E
RGBrgb(34, 36, 30)
HSLhsl(80, 9%, 13%)
HSVhsv(80, 17%, 14%)
CMYKcmyk(5.6%, 0%, 16.7%, 85.9%)
CIE-LABlab(13.80, -2.35, 3.70)
CIE-LCHlch(13.80, 4.38, 122.35°)
OKLaboklab(25.61% -0.006 0.0096)
OKLCHoklch(25.61% 0.011 122.2)
XYZxyz(1.5249, 1.6956, 1.4750)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22241E #201E24
analogous
#24231E #22241E #1F241E
triadic
#22241E #1E2224 #241E22
tetradic
#22241E #1E2423 #201E24 #241E1F
square
#22241E #1E2423 #201E24 #241E1F
split-complementary
#22241E #1E1F24 #231E24
monochromatic
#10110E #10110E #22241E #42453A #616756

Accessibility & contrast

On white

15.68
#22241E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22241E
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22241E#FFFFFF#000000##FFFFFF
##22241E1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231E
Deuteranopia (green-blind)
#25231E
Tritanopia (blue-blind)
#232322
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #22241e;
/* rgb */ color: rgb(34, 36, 30);
/* oklch */ color: oklch(25.6% 0.011 122.2);
Tailwind
colors: {
  custom: {
    50: '#5d5e59',
    500: '#22241e',
    950: '#000000',
  },
}
SCSS
$custom: #22241e;
$custom-light: #5d5e59;
$custom-dark: #000000;
JSON
{
  "hex": "#22241e",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 30
  },
  "hsl": {
    "h": 80,
    "s": 9.091,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25605,
    "c": 0.01135,
    "h": 122.2
  },
  "luminance": 0.01696
}

Semantic roles & 50–950 ramp

primary
#22241E
secondary
#4D4A54
accent
#76B28A
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #22241E

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

Preview Lab → · Contrast checker → · Palette generator →

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