#2A2A20#2A2A20

#2A2A20 is a dark, near-neutral yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.018 H 107.5°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#2A2A20
RGBrgb(42, 42, 32)
HSLhsl(60, 14%, 15%)
HSVhsv(60, 24%, 16%)
CMYKcmyk(0%, 0%, 23.8%, 83.5%)
CIE-LABlab(16.76, -2.18, 6.56)
CIE-LCHlch(16.76, 6.91, 108.34°)
OKLaboklab(28.16% -0.0053 0.0168)
OKLCHoklch(28.16% 0.018 107.5)
XYZxyz(2.0435, 2.2525, 1.6933)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A20 #20202A
analogous
#2A2520 #2A2A20 #252A20
triadic
#2A2A20 #202A2A #2A202A
tetradic
#2A2A20 #202A25 #20202A #2A2025
square
#2A2A20 #202A25 #20202A #2A2025
split-complementary
#2A2A20 #20252A #25202A
monochromatic
#11110D #11110D #2A2A20 #4D4D3A #6F6F55

Accessibility & contrast

On white

14.48
#2A2A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2A2A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A20
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A20#FFFFFF#000000##FFFFFF
##2A2A201.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291F
Deuteranopia (green-blind)
#2C2A20
Tritanopia (blue-blind)
#2C2927
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a2a20;
/* rgb */ color: rgb(42, 42, 32);
/* oklch */ color: oklch(28.2% 0.018 107.5);
Tailwind
colors: {
  custom: {
    50: '#63635b',
    500: '#2a2a20',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a20;
$custom-light: #63635b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a20",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 13.514,
    "l": 14.51
  },
  "oklch": {
    "l": 0.28164,
    "c": 0.01759,
    "h": 107.5
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#2A2A20
secondary
#4B4B5B
accent
#71B671
background
#F5F5F5
surface
#EAEAE9
border
#C6C6C5
text
#050504
muted
#797979

Preview Lab

Preview with #2A2A20

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

Preview Lab → · Contrast checker → · Palette generator →

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