#22271E#22271E

#22271E is a dark, near-neutral yellow-green. Relative luminance 0.019; OKLCH L 26.5% C 0.018 H 131.3°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#22271E
RGBrgb(34, 39, 30)
HSLhsl(93, 13%, 14%)
HSVhsv(93, 23%, 15%)
CMYKcmyk(12.8%, 0%, 23.1%, 84.7%)
CIE-LABlab(14.87, -4.40, 5.21)
CIE-LCHlch(14.87, 6.82, 130.18°)
OKLaboklab(26.45% -0.0118 0.0134)
OKLCHoklch(26.45% 0.018 131.3)
XYZxyz(1.6195, 1.8848, 1.5065)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22271E #231E27
analogous
#26271E #22271E #1E271E
triadic
#22271E #1E2227 #271E22
tetradic
#22271E #1E2627 #231E27 #271E1E
square
#22271E #1E2627 #231E27 #271E1E
split-complementary
#22271E #1E1E27 #271E26
monochromatic
#0F110D #0F110D #22271E #404A39 #5E6C53

Accessibility & contrast

On white

15.25
#22271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#22271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22271E
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22271E#FFFFFF#000000##FFFFFF
##22271E1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261D
Deuteranopia (green-blind)
#27251E
Tritanopia (blue-blind)
#222624
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #22271e;
/* rgb */ color: rgb(34, 39, 30);
/* oklch */ color: oklch(26.5% 0.018 131.3);
Tailwind
colors: {
  custom: {
    50: '#5d6159',
    500: '#22271e',
    950: '#000000',
  },
}
SCSS
$custom: #22271e;
$custom-light: #5d6159;
$custom-dark: #000000;
JSON
{
  "hex": "#22271e",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 93.333,
    "s": 13.043,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26454,
    "c": 0.01784,
    "h": 131.3
  },
  "luminance": 0.01885
}

Semantic roles & 50–950 ramp

primary
#22271E
secondary
#514958
accent
#72B698
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040503
muted
#797978

Preview Lab

Preview with #22271E

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

Preview Lab → · Contrast checker → · Palette generator →

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