#2A2A16#2A2A16

#2A2A16 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.034 H 108.4°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#2A2A16
RGBrgb(42, 42, 22)
HSLhsl(60, 31%, 13%)
HSVhsv(60, 48%, 16%)
CMYKcmyk(0%, 0%, 47.6%, 83.5%)
CIE-LABlab(16.53, -3.88, 13.08)
CIE-LCHlch(16.53, 13.64, 106.51°)
OKLaboklab(27.91% -0.0106 0.0319)
OKLCHoklch(27.91% 0.034 108.4)
XYZxyz(1.9277, 2.2061, 1.0832)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A16 #16162A
analogous
#2A2016 #2A2A16 #202A16
triadic
#2A2A16 #162A2A #2A162A
tetradic
#2A2A16 #162A20 #16162A #2A1620
square
#2A2A16 #162A20 #16162A #2A1620
split-complementary
#2A2A16 #16202A #20162A
monochromatic
#14140B #14140B #2A2A16 #52522B #7A7A40

Accessibility & contrast

On white

14.57
#2A2A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2A2A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A16
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A16#FFFFFF#000000##FFFFFF
##2A2A161.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2814
Deuteranopia (green-blind)
#2D2917
Tritanopia (blue-blind)
#2D2825
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a2a16;
/* rgb */ color: rgb(42, 42, 22);
/* oklch */ color: oklch(27.9% 0.034 108.4);
Tailwind
colors: {
  custom: {
    50: '#646353',
    500: '#2a2a16',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a16;
$custom-light: #646353;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a16",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 31.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.27911,
    "c": 0.03365,
    "h": 108.4
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#2A2A16
secondary
#3D3D5F
accent
#60C760
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#050502
muted
#7A7978

Preview Lab

Preview with #2A2A16

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

Preview Lab → · Contrast checker → · Palette generator →

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