#2D2507#2D2507

#2D2507 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.7% C 0.046 H 94.0°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#2D2507
RGBrgb(45, 37, 7)
HSLhsl(47, 73%, 10%)
HSVhsv(47, 84%, 18%)
CMYKcmyk(0%, 17.8%, 84.4%, 82.4%)
CIE-LABlab(14.93, -0.50, 18.98)
CIE-LCHlch(14.93, 18.99, 91.52°)
OKLaboklab(26.65% -0.0033 0.0463)
OKLCHoklch(26.65% 0.046 94)
XYZxyz(1.7822, 1.8965, 0.4732)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2507 #070F2D
analogous
#2D1207 #2D2507 #222D07
triadic
#2D2507 #072D25 #25072D
tetradic
#2D2507 #072D12 #070F2D #2D0722
square
#2D2507 #072D12 #070F2D #2D0722
split-complementary
#2D2507 #07222D #12072D
monochromatic
#1A1604 #1A1604 #2D2507 #62510F #977C17

Accessibility & contrast

On white

15.23
#2D2507 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2507
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2507#FFFFFF#000000##FFFFFF
##2D25071.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2404
Deuteranopia (green-blind)
#2C2708
Tritanopia (blue-blind)
#31211F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2d2507;
/* rgb */ color: rgb(45, 37, 7);
/* oklch */ color: oklch(26.7% 0.046 94.0);
Tailwind
colors: {
  custom: {
    50: '#675f4a',
    500: '#2d2507',
    950: '#000000',
  },
}
SCSS
$custom: #2d2507;
$custom-light: #675f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2507",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 7
  },
  "hsl": {
    "h": 47.368,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26653,
    "c": 0.04645,
    "h": 94
  },
  "luminance": 0.01896
}

Semantic roles & 50–950 ramp

primary
#2D2507
secondary
#23336D
accent
#5FF038
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2D2507

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

Preview Lab → · Contrast checker → · Palette generator →

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