#22261F#22261F

#22261F is a dark, near-neutral yellow-green. Relative luminance 0.018; OKLCH L 26.2% C 0.014 H 131.8°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#22261F
RGBrgb(34, 38, 31)
HSLhsl(94, 10%, 14%)
HSVhsv(94, 18%, 15%)
CMYKcmyk(10.5%, 0%, 18.4%, 85.1%)
CIE-LABlab(14.54, -3.50, 4.04)
CIE-LCHlch(14.54, 5.34, 130.90°)
OKLaboklab(26.2% -0.0093 0.0104)
OKLCHoklch(26.2% 0.014 131.8)
XYZxyz(1.6001, 1.8252, 1.5641)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22261F #231F26
analogous
#25261F #22261F #1F261F
triadic
#22261F #1F2226 #261F22
tetradic
#22261F #1F2526 #231F26 #261F1F
square
#22261F #1F2526 #231F26 #261F1F
split-complementary
#22261F #1F1F26 #261F25
monochromatic
#0F110E #0F110E #22261F #40483A #5E6956

Accessibility & contrast

On white

15.38
#22261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#22261F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22261F
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22261F#FFFFFF#000000##FFFFFF
##22261F1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251F
Deuteranopia (green-blind)
#26251F
Tritanopia (blue-blind)
#222524
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #22261f;
/* rgb */ color: rgb(34, 38, 31);
/* oklch */ color: oklch(26.2% 0.014 131.8);
Tailwind
colors: {
  custom: {
    50: '#5d605a',
    500: '#22261f',
    950: '#000000',
  },
}
SCSS
$custom: #22261f;
$custom-light: #5d605a;
$custom-dark: #000000;
JSON
{
  "hex": "#22261f",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 94.286,
    "s": 10.145,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26202,
    "c": 0.01401,
    "h": 131.8
  },
  "luminance": 0.01825
}

Semantic roles & 50–950 ramp

primary
#22261F
secondary
#514B56
accent
#75B398
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #22261F

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

Preview Lab → · Contrast checker → · Palette generator →

#22261F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva