#22281A#22281A

#22281A is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.6% C 0.026 H 127.0°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#22281A
RGBrgb(34, 40, 26)
HSLhsl(86, 21%, 13%)
HSVhsv(86, 35%, 16%)
CMYKcmyk(15%, 0%, 35%, 84.3%)
CIE-LABlab(15.13, -5.90, 8.36)
CIE-LCHlch(15.13, 10.23, 125.18°)
OKLaboklab(26.62% -0.0159 0.0211)
OKLCHoklch(26.62% 0.026 127)
XYZxyz(1.6049, 1.9322, 1.2655)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22281A #201A28
analogous
#28271A #22281A #1B281A
triadic
#22281A #1A2228 #281A22
tetradic
#22281A #1A2827 #201A28 #281A1B
square
#22281A #1A2827 #201A28 #281A1B
split-complementary
#22281A #1A1B28 #271A28
monochromatic
#10130C #10130C #22281A #424D32 #61724A

Accessibility & contrast

On white

15.15
#22281A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#22281A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22281A
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22281A#FFFFFF#000000##FFFFFF
##22281A1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292619
Deuteranopia (green-blind)
#29261B
Tritanopia (blue-blind)
#232724
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #22281a;
/* rgb */ color: rgb(34, 40, 26);
/* oklch */ color: oklch(26.6% 0.026 127.0);
Tailwind
colors: {
  custom: {
    50: '#5d6156',
    500: '#22281a',
    950: '#000000',
  },
}
SCSS
$custom: #22281a;
$custom-light: #5d6156;
$custom-dark: #000000;
JSON
{
  "hex": "#22281a",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 26
  },
  "hsl": {
    "h": 85.714,
    "s": 21.212,
    "l": 12.941
  },
  "oklch": {
    "l": 0.26624,
    "c": 0.02639,
    "h": 127
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#22281A
secondary
#4D435B
accent
#6ABE8E
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040503
muted
#797978

Preview Lab

Preview with #22281A

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

Preview Lab → · Contrast checker → · Palette generator →

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