#22270A#22270A

#22270A is a dark, muted yellow-green. Relative luminance 0.018; OKLCH L 26.0% C 0.047 H 118.0°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#22270A
RGBrgb(34, 39, 10)
HSLhsl(70, 59%, 10%)
HSVhsv(70, 74%, 15%)
CMYKcmyk(12.8%, 0%, 74.4%, 84.7%)
CIE-LABlab(14.47, -7.63, 16.93)
CIE-LCHlch(14.47, 18.57, 114.26°)
OKLaboklab(26.01% -0.0221 0.0416)
OKLCHoklch(26.01% 0.047 118)
XYZxyz(1.4400, 1.8130, 0.5612)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22270A #0F0A27
analogous
#271E0A #22270A #14270A
triadic
#22270A #0A2227 #270A22
tetradic
#22270A #0A271E #0F0A27 #270A14
square
#22270A #0A271E #0F0A27 #270A14
split-complementary
#22270A #0A1427 #1E0A27
monochromatic
#151806 #151806 #22270A #4C5816 #778823

Accessibility & contrast

On white

15.41
#22270A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22270A
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22270A#FFFFFF#000000##FFFFFF
##22270A1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22270a;
/* rgb */ color: rgb(34, 39, 10);
/* oklch */ color: oklch(26.0% 0.047 118.0);
Tailwind
colors: {
  custom: {
    50: '#5d614b',
    500: '#22270a',
    950: '#000000',
  },
}
SCSS
$custom: #22270a;
$custom-light: #5d614b;
$custom-dark: #000000;
JSON
{
  "hex": "#22270a",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 10
  },
  "hsl": {
    "h": 70.345,
    "s": 59.184,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26007,
    "c": 0.04714,
    "h": 118
  },
  "luminance": 0.01813
}

Semantic roles & 50–950 ramp

primary
#22270A
secondary
#332964
accent
#45E260
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040501
muted
#797977

Preview Lab

Preview with #22270A

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

Preview Lab → · Contrast checker → · Palette generator →

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