#2A2909#2A2909

#2A2909 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.049 H 107.5°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#2A2909
RGBrgb(42, 41, 9)
HSLhsl(58, 65%, 10%)
HSVhsv(58, 79%, 16%)
CMYKcmyk(0%, 2.4%, 78.6%, 83.5%)
CIE-LABlab(15.99, -4.69, 19.44)
CIE-LCHlch(15.99, 20.00, 103.58°)
OKLaboklab(27.42% -0.0146 0.0464)
OKLCHoklch(27.42% 0.049 107.5)
XYZxyz(1.7972, 2.0979, 0.5687)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2909 #090A2A
analogous
#2A1909 #2A2909 #1A2A09
triadic
#2A2909 #092A29 #29092A
tetradic
#2A2909 #092A19 #090A2A #2A091A
square
#2A2909 #092A19 #090A2A #2A091A
split-complementary
#2A2909 #091A2A #19092A
monochromatic
#191905 #191905 #2A2909 #5C5A14 #8F8B1F

Accessibility & contrast

On white

14.79
#2A2909 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2909
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2909#FFFFFF#000000##FFFFFF
##2A29091.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2706
Deuteranopia (green-blind)
#2E280B
Tritanopia (blue-blind)
#2E2622
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2a2909;
/* rgb */ color: rgb(42, 41, 9);
/* oklch */ color: oklch(27.4% 0.049 107.5);
Tailwind
colors: {
  custom: {
    50: '#64624b',
    500: '#2a2909',
    950: '#000000',
  },
}
SCSS
$custom: #2a2909;
$custom-light: #64624b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2909",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 9
  },
  "hsl": {
    "h": 58.182,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.27418,
    "c": 0.04868,
    "h": 107.5
  },
  "luminance": 0.02098
}

Semantic roles & 50–950 ramp

primary
#2A2909
secondary
#272968
accent
#45E840
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#050501
muted
#7A7977

Preview Lab

Preview with #2A2909

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

Preview Lab → · Contrast checker → · Palette generator →

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