#2A220A#2A220A

#2A220A is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.5% C 0.040 H 90.9°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#2A220A
RGBrgb(42, 34, 10)
HSLhsl(45, 62%, 10%)
HSVhsv(45, 76%, 16%)
CMYKcmyk(0%, 19%, 76.2%, 83.5%)
CIE-LABlab(13.58, 0.15, 15.92)
CIE-LCHlch(13.58, 15.92, 89.46°)
OKLaboklab(25.51% -0.0006 0.0398)
OKLCHoklch(25.51% 0.04 90.9)
XYZxyz(1.5817, 1.6583, 0.5239)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A220A #0A122A
analogous
#2A120A #2A220A #222A0A
triadic
#2A220A #0A2A22 #220A2A
tetradic
#2A220A #0A2A12 #0A122A #2A0A22
square
#2A220A #0A2A12 #0A122A #2A0A22
split-complementary
#2A220A #0A222A #120A2A
monochromatic
#191406 #191406 #2A220A #5B4A16 #8D7222

Accessibility & contrast

On white

15.77
#2A220A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2A220A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A220A
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A220A#FFFFFF#000000##FFFFFF
##2A220A1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262108
Deuteranopia (green-blind)
#28240B
Tritanopia (blue-blind)
#2E1F1D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2a220a;
/* rgb */ color: rgb(42, 34, 10);
/* oklch */ color: oklch(25.5% 0.040 90.9);
Tailwind
colors: {
  custom: {
    50: '#645c4b',
    500: '#2a220a',
    950: '#000000',
  },
}
SCSS
$custom: #2a220a;
$custom-light: #645c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a220a",
  "rgb": {
    "r": 42,
    "g": 34,
    "b": 10
  },
  "hsl": {
    "h": 45,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.25509,
    "c": 0.03977,
    "h": 90.9
  },
  "luminance": 0.01658
}

Semantic roles & 50–950 ramp

primary
#2A220A
secondary
#293867
accent
#6CE543
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050401
muted
#7A7977

Preview Lab

Preview with #2A220A

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

Preview Lab → · Contrast checker → · Palette generator →

#2A220A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva