#2A2809#2A2809

#2A2809 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.1% C 0.047 H 105.6°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#2A2809
RGBrgb(42, 40, 9)
HSLhsl(56, 65%, 10%)
HSVhsv(56, 79%, 16%)
CMYKcmyk(0%, 4.8%, 78.6%, 83.5%)
CIE-LABlab(15.64, -4.03, 19.00)
CIE-LCHlch(15.64, 19.42, 101.98°)
OKLaboklab(27.14% -0.0128 0.0456)
OKLCHoklch(27.14% 0.047 105.6)
XYZxyz(1.7630, 2.0296, 0.5573)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2809 #090B2A
analogous
#2A1809 #2A2809 #1B2A09
triadic
#2A2809 #092A28 #28092A
tetradic
#2A2809 #092A18 #090B2A #2A091B
square
#2A2809 #092A18 #090B2A #2A091B
split-complementary
#2A2809 #091B2A #18092A
monochromatic
#191805 #191805 #2A2809 #5C5814 #8F881F

Accessibility & contrast

On white

14.94
#2A2809 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2A2809 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2809
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2809#FFFFFF#000000##FFFFFF
##2A28091.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2606
Deuteranopia (green-blind)
#2D280B
Tritanopia (blue-blind)
#2E2522
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2a2809;
/* rgb */ color: rgb(42, 40, 9);
/* oklch */ color: oklch(27.1% 0.047 105.6);
Tailwind
colors: {
  custom: {
    50: '#64614b',
    500: '#2a2809',
    950: '#000000',
  },
}
SCSS
$custom: #2a2809;
$custom-light: #64614b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2809",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 9
  },
  "hsl": {
    "h": 56.364,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.27139,
    "c": 0.04739,
    "h": 105.6
  },
  "luminance": 0.0203
}

Semantic roles & 50–950 ramp

primary
#2A2809
secondary
#272B68
accent
#4AE840
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050501
muted
#7A7977

Preview Lab

Preview with #2A2809

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

Preview Lab → · Contrast checker → · Palette generator →

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