#2A2106#2A2106

#2A2106 is a dark, muted yellow. Relative luminance 0.016; OKLCH L 25.2% C 0.044 H 90.6°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#2A2106
RGBrgb(42, 33, 6)
HSLhsl(45, 75%, 9%)
HSVhsv(45, 86%, 16%)
CMYKcmyk(0%, 21.4%, 85.7%, 83.5%)
CIE-LABlab(13.19, 0.48, 17.03)
CIE-LCHlch(13.19, 17.04, 88.38°)
OKLaboklab(25.18% -0.0004 0.0436)
OKLCHoklch(25.18% 0.044 90.6)
XYZxyz(1.5317, 1.5932, 0.3991)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2106 #060F2A
analogous
#2A0F06 #2A2106 #212A06
triadic
#2A2106 #062A21 #21062A
tetradic
#2A2106 #062A0F #060F2A #2A0621
square
#2A2106 #062A0F #060F2A #2A0621
split-complementary
#2A2106 #06212A #0F062A
monochromatic
#1B1504 #1B1504 #2A2106 #604B0E #957515

Accessibility & contrast

On white

15.93
#2A2106 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2A2106 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2106
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2106#FFFFFF#000000##FFFFFF
##2A21061.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262004
Deuteranopia (green-blind)
#282307
Tritanopia (blue-blind)
#2E1D1B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2a2106;
/* rgb */ color: rgb(42, 33, 6);
/* oklch */ color: oklch(25.2% 0.044 90.6);
Tailwind
colors: {
  custom: {
    50: '#645c49',
    500: '#2a2106',
    950: '#000000',
  },
}
SCSS
$custom: #2a2106;
$custom-light: #645c49;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2106",
  "rgb": {
    "r": 42,
    "g": 33,
    "b": 6
  },
  "hsl": {
    "h": 45,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25183,
    "c": 0.04361,
    "h": 90.6
  },
  "luminance": 0.01593
}

Semantic roles & 50–950 ramp

primary
#2A2106
secondary
#21346B
accent
#65F236
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2A2106

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

Preview Lab → · Contrast checker → · Palette generator →

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