#22261E#22261E

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

Color values

HEX#22261E
RGBrgb(34, 38, 30)
HSLhsl(90, 12%, 13%)
HSVhsv(90, 21%, 15%)
CMYKcmyk(10.5%, 0%, 21.1%, 85.1%)
CIE-LABlab(14.51, -3.72, 4.71)
CIE-LCHlch(14.51, 6.00, 128.32°)
OKLaboklab(26.17% -0.0099 0.0121)
OKLCHoklch(26.17% 0.016 129.1)
XYZxyz(1.5871, 1.8200, 1.4957)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22261E #221E26
analogous
#26261E #22261E #1E261E
triadic
#22261E #1E2226 #261E22
tetradic
#22261E #1E2626 #221E26 #261E1E
square
#22261E #1E2626 #221E26 #261E1E
split-complementary
#22261E #1E1E26 #261E26
monochromatic
#0F110D #0F110D #22261E #414839 #5F6A54

Accessibility & contrast

On white

15.40
#22261E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#22261E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22261E
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22261E#FFFFFF#000000##FFFFFF
##22261E1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22261e;
/* rgb */ color: rgb(34, 38, 30);
/* oklch */ color: oklch(26.2% 0.016 129.1);
Tailwind
colors: {
  custom: {
    50: '#5d6059',
    500: '#22261e',
    950: '#000000',
  },
}
SCSS
$custom: #22261e;
$custom-light: #5d6059;
$custom-dark: #000000;
JSON
{
  "hex": "#22261e",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 30
  },
  "hsl": {
    "h": 90,
    "s": 11.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2617,
    "c": 0.01565,
    "h": 129.1
  },
  "luminance": 0.0182
}

Semantic roles & 50–950 ramp

primary
#22261E
secondary
#504956
accent
#73B594
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #22261E

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

Preview Lab → · Contrast checker → · Palette generator →

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