#22270E#22270E

#22270E is a dark, muted yellow-green. Relative luminance 0.018; OKLCH L 26.1% C 0.042 H 118.8°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#22270E
RGBrgb(34, 39, 14)
HSLhsl(72, 47%, 10%)
HSVhsv(72, 64%, 15%)
CMYKcmyk(12.8%, 0%, 64.1%, 84.7%)
CIE-LABlab(14.53, -7.17, 15.18)
CIE-LCHlch(14.53, 16.79, 115.28°)
OKLaboklab(26.07% -0.0203 0.037)
OKLCHoklch(26.07% 0.042 118.8)
XYZxyz(1.4645, 1.8228, 0.6901)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22270E #130E27
analogous
#271F0E #22270E #15270E
triadic
#22270E #0E2227 #270E22
tetradic
#22270E #0E271F #130E27 #270E15
square
#22270E #0E271F #130E27 #270E15
split-complementary
#22270E #0E1527 #1F0E27
monochromatic
#141708 #141708 #22270E #49541E #71812E

Accessibility & contrast

On white

15.39
#22270E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22270E
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22270E#FFFFFF#000000##FFFFFF
##22270E1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A250C
Deuteranopia (green-blind)
#29250F
Tritanopia (blue-blind)
#242521
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #22270e;
/* rgb */ color: rgb(34, 39, 14);
/* oklch */ color: oklch(26.1% 0.042 118.8);
Tailwind
colors: {
  custom: {
    50: '#5d614d',
    500: '#22270e',
    950: '#000000',
  },
}
SCSS
$custom: #22270e;
$custom-light: #5d614d;
$custom-dark: #000000;
JSON
{
  "hex": "#22270e",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 14
  },
  "hsl": {
    "h": 72,
    "s": 47.17,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26069,
    "c": 0.04225,
    "h": 118.8
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#22270E
secondary
#3A3060
accent
#51D76C
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040501
muted
#797977

Preview Lab

Preview with #22270E

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

Preview Lab → · Contrast checker → · Palette generator →

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