#2A2209#2A2209

#2A2209 is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.5% C 0.041 H 91.5°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#2A2209
RGBrgb(42, 34, 9)
HSLhsl(45, 65%, 10%)
HSVhsv(45, 79%, 16%)
CMYKcmyk(0%, 19%, 78.6%, 83.5%)
CIE-LABlab(13.57, 0.06, 16.31)
CIE-LCHlch(13.57, 16.31, 89.79°)
OKLaboklab(25.5% -0.0011 0.0409)
OKLCHoklch(25.5% 0.041 91.5)
XYZxyz(1.5763, 1.6561, 0.4950)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2209 #09112A
analogous
#2A1209 #2A2209 #212A09
triadic
#2A2209 #092A22 #22092A
tetradic
#2A2209 #092A12 #09112A #2A0921
square
#2A2209 #092A12 #09112A #2A0921
split-complementary
#2A2209 #09212A #12092A
monochromatic
#191405 #191405 #2A2209 #5C4B14 #8F741F

Accessibility & contrast

On white

15.78
#2A2209 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2A2209 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2209
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2209#FFFFFF#000000##FFFFFF
##2A22091.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262107
Deuteranopia (green-blind)
#28240A
Tritanopia (blue-blind)
#2E1F1D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2a2209;
/* rgb */ color: rgb(42, 34, 9);
/* oklch */ color: oklch(25.5% 0.041 91.5);
Tailwind
colors: {
  custom: {
    50: '#645c4b',
    500: '#2a2209',
    950: '#000000',
  },
}
SCSS
$custom: #2a2209;
$custom-light: #645c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2209",
  "rgb": {
    "r": 42,
    "g": 34,
    "b": 9
  },
  "hsl": {
    "h": 45.455,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.25495,
    "c": 0.04089,
    "h": 91.5
  },
  "luminance": 0.01656
}

Semantic roles & 50–950 ramp

primary
#2A2209
secondary
#273768
accent
#69E840
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050401
muted
#7A7977

Preview Lab

Preview with #2A2209

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

Preview Lab → · Contrast checker → · Palette generator →

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