#2D2504#2D2504

#2D2504 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.6% C 0.050 H 95.3°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#2D2504
RGBrgb(45, 37, 4)
HSLhsl(48, 84%, 10%)
HSVhsv(48, 91%, 18%)
CMYKcmyk(0%, 17.8%, 91.1%, 82.4%)
CIE-LABlab(14.90, -0.76, 20.16)
CIE-LCHlch(14.90, 20.17, 92.15°)
OKLaboklab(26.61% -0.0046 0.0497)
OKLCHoklch(26.61% 0.05 95.3)
XYZxyz(1.7658, 1.8899, 0.3866)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2504 #040C2D
analogous
#2D1104 #2D2504 #212D04
triadic
#2D2504 #042D25 #25042D
tetradic
#2D2504 #042D11 #040C2D #2D0421
square
#2D2504 #042D11 #040C2D #2D0421
split-complementary
#2D2504 #04212D #11042D
monochromatic
#1C1702 #1C1702 #2D2504 #655309 #9D810E

Accessibility & contrast

On white

15.24
#2D2504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2D2504 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2504
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2504#FFFFFF#000000##FFFFFF
##2D25041.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2401
Deuteranopia (green-blind)
#2C2705
Tritanopia (blue-blind)
#32211E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2d2504;
/* rgb */ color: rgb(45, 37, 4);
/* oklch */ color: oklch(26.6% 0.050 95.3);
Tailwind
colors: {
  custom: {
    50: '#675f48',
    500: '#2d2504',
    950: '#000000',
  },
}
SCSS
$custom: #2d2504;
$custom-light: #675f48;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2504",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 4
  },
  "hsl": {
    "h": 48.293,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26613,
    "c": 0.04986,
    "h": 95.3
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

primary
#2D2504
secondary
#1D2D70
accent
#56FA2E
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2D2504

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

Preview Lab → · Contrast checker → · Palette generator →

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