#2A2406#2A2406

#2A2406 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.0% C 0.046 H 97.9°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#2A2406
RGBrgb(42, 36, 6)
HSLhsl(50, 75%, 9%)
HSVhsv(50, 86%, 16%)
CMYKcmyk(0%, 14.3%, 85.7%, 83.5%)
CIE-LABlab(14.21, -1.60, 18.39)
CIE-LCHlch(14.21, 18.45, 94.96°)
OKLaboklab(25.99% -0.0064 0.0458)
OKLCHoklch(25.99% 0.046 97.9)
XYZxyz(1.6187, 1.7672, 0.4281)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2406 #060C2A
analogous
#2A1206 #2A2406 #1E2A06
triadic
#2A2406 #062A24 #24062A
tetradic
#2A2406 #062A12 #060C2A #2A061E
square
#2A2406 #062A12 #060C2A #2A061E
split-complementary
#2A2406 #061E2A #12062A
monochromatic
#1B1704 #1B1704 #2A2406 #60520E #958015

Accessibility & contrast

On white

15.52
#2A2406 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2A2406 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2406
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2406#FFFFFF#000000##FFFFFF
##2A24061.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292303
Deuteranopia (green-blind)
#2A2507
Tritanopia (blue-blind)
#2E211E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2a2406;
/* rgb */ color: rgb(42, 36, 6);
/* oklch */ color: oklch(26.0% 0.046 97.9);
Tailwind
colors: {
  custom: {
    50: '#645e49',
    500: '#2a2406',
    950: '#000000',
  },
}
SCSS
$custom: #2a2406;
$custom-light: #645e49;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2406",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 6
  },
  "hsl": {
    "h": 50,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25994,
    "c": 0.04625,
    "h": 97.9
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#2A2406
secondary
#212D6B
accent
#55F236
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050401
muted
#7A7977

Preview Lab

Preview with #2A2406

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

Preview Lab → · Contrast checker → · Palette generator →

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