#22281C#22281C

#22281C is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.7% C 0.023 H 129.5°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#22281C
RGBrgb(34, 40, 28)
HSLhsl(90, 18%, 13%)
HSVhsv(90, 30%, 16%)
CMYKcmyk(15%, 0%, 30%, 84.3%)
CIE-LABlab(15.18, -5.50, 7.04)
CIE-LCHlch(15.18, 8.93, 127.99°)
OKLaboklab(26.68% -0.0147 0.0179)
OKLCHoklch(26.68% 0.023 129.5)
XYZxyz(1.6280, 1.9415, 1.3874)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22281C #221C28
analogous
#28281C #22281C #1C281C
triadic
#22281C #1C2228 #281C22
tetradic
#22281C #1C2828 #221C28 #281C1C
square
#22281C #1C2828 #221C28 #281C1C
split-complementary
#22281C #1C1C28 #281C28
monochromatic
#0F120D #0F120D #22281C #414C35 #5F704E

Accessibility & contrast

On white

15.13
#22281C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22281C
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22281C#FFFFFF#000000##FFFFFF
##22281C1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261B
Deuteranopia (green-blind)
#28261D
Tritanopia (blue-blind)
#222725
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #22281c;
/* rgb */ color: rgb(34, 40, 28);
/* oklch */ color: oklch(26.7% 0.023 129.5);
Tailwind
colors: {
  custom: {
    50: '#5d6158',
    500: '#22281c',
    950: '#000000',
  },
}
SCSS
$custom: #22281c;
$custom-light: #5d6158;
$custom-dark: #000000;
JSON
{
  "hex": "#22281c",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 28
  },
  "hsl": {
    "h": 90,
    "s": 17.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2668,
    "c": 0.0232,
    "h": 129.5
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#22281C
secondary
#50465A
accent
#6DBA94
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040503
muted
#797978

Preview Lab

Preview with #22281C

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

Preview Lab → · Contrast checker → · Palette generator →

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