#2A2820#2A2820

#2A2820 is a dark, near-neutral yellow. Relative luminance 0.021; OKLCH L 27.6% C 0.014 H 95.5°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#2A2820
RGBrgb(42, 40, 32)
HSLhsl(48, 14%, 15%)
HSVhsv(48, 24%, 16%)
CMYKcmyk(0%, 4.8%, 23.8%, 83.5%)
CIE-LABlab(16.07, -0.81, 5.61)
CIE-LCHlch(16.07, 5.67, 98.21°)
OKLaboklab(27.62% -0.0014 0.0144)
OKLCHoklch(27.62% 0.014 95.5)
XYZxyz(1.9743, 2.1141, 1.6703)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2820 #20222A
analogous
#2A2320 #2A2820 #272A20
triadic
#2A2820 #202A28 #28202A
tetradic
#2A2820 #202A23 #20222A #2A2027
square
#2A2820 #202A23 #20222A #2A2027
split-complementary
#2A2820 #20272A #23202A
monochromatic
#11110D #11110D #2A2820 #4D493A #6F6A55

Accessibility & contrast

On white

14.76
#2A2820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2A2820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2820
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2820#FFFFFF#000000##FFFFFF
##2A28201.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2820
Deuteranopia (green-blind)
#2A2820
Tritanopia (blue-blind)
#2C2726
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2a2820;
/* rgb */ color: rgb(42, 40, 32);
/* oklch */ color: oklch(27.6% 0.014 95.5);
Tailwind
colors: {
  custom: {
    50: '#63615b',
    500: '#2a2820',
    950: '#000000',
  },
}
SCSS
$custom: #2a2820;
$custom-light: #63615b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2820",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 32
  },
  "hsl": {
    "h": 48,
    "s": 13.514,
    "l": 14.51
  },
  "oklch": {
    "l": 0.27623,
    "c": 0.01449,
    "h": 95.5
  },
  "luminance": 0.02114
}

Semantic roles & 50–950 ramp

primary
#2A2820
secondary
#4B4E5B
accent
#7FB671
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050504
muted
#797979

Preview Lab

Preview with #2A2820

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

Preview Lab → · Contrast checker → · Palette generator →

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