#22281E#22281E

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

Color values

HEX#22281E
RGBrgb(34, 40, 30)
HSLhsl(96, 14%, 14%)
HSVhsv(96, 25%, 16%)
CMYKcmyk(15%, 0%, 25%, 84.3%)
CIE-LABlab(15.23, -5.07, 5.71)
CIE-LCHlch(15.23, 7.64, 131.61°)
OKLaboklab(26.74% -0.0136 0.0147)
OKLCHoklch(26.74% 0.02 132.9)
XYZxyz(1.6528, 1.9514, 1.5176)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22281E #241E28
analogous
#27281E #22281E #1E281F
triadic
#22281E #1E2228 #281E22
tetradic
#22281E #1E2728 #241E28 #281F1E
square
#22281E #1E2728 #241E28 #281F1E
split-complementary
#22281E #1F1E28 #281E27
monochromatic
#0F110D #0F110D #22281E #404B38 #5D6E52

Accessibility & contrast

On white

15.11
#22281E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22281E
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22281E#FFFFFF#000000##FFFFFF
##22281E1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22281e;
/* rgb */ color: rgb(34, 40, 30);
/* oklch */ color: oklch(26.7% 0.020 132.9);
Tailwind
colors: {
  custom: {
    50: '#5d6159',
    500: '#22281e',
    950: '#000000',
  },
}
SCSS
$custom: #22281e;
$custom-light: #5d6159;
$custom-dark: #000000;
JSON
{
  "hex": "#22281e",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 30
  },
  "hsl": {
    "h": 96,
    "s": 14.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2674,
    "c": 0.02001,
    "h": 132.9
  },
  "luminance": 0.01951
}

Semantic roles & 50–950 ramp

primary
#22281E
secondary
#534959
accent
#71B79B
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040503
muted
#797978

Preview Lab

Preview with #22281E

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

Preview Lab → · Contrast checker → · Palette generator →

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