#2D2704#2D2704

#2D2704 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.2% C 0.052 H 99.4°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#2D2704
RGBrgb(45, 39, 4)
HSLhsl(51, 84%, 10%)
HSVhsv(51, 91%, 18%)
CMYKcmyk(0%, 13.3%, 91.1%, 82.4%)
CIE-LABlab(15.58, -2.12, 21.03)
CIE-LCHlch(15.58, 21.13, 95.75°)
OKLaboklab(27.15% -0.0084 0.051)
OKLCHoklch(27.15% 0.052 99.4)
XYZxyz(1.8297, 2.0178, 0.4079)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2704 #040A2D
analogous
#2D1304 #2D2704 #1F2D04
triadic
#2D2704 #042D27 #27042D
tetradic
#2D2704 #042D13 #040A2D #2D041F
square
#2D2704 #042D13 #040A2D #2D041F
split-complementary
#2D2704 #041F2D #13042D
monochromatic
#1C1802 #1C1802 #2D2704 #655809 #9D880E

Accessibility & contrast

On white

14.96
#2D2704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2D2704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2704
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2704#FFFFFF#000000##FFFFFF
##2D27041.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2601
Deuteranopia (green-blind)
#2E2806
Tritanopia (blue-blind)
#312320
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2d2704;
/* rgb */ color: rgb(45, 39, 4);
/* oklch */ color: oklch(27.2% 0.052 99.4);
Tailwind
colors: {
  custom: {
    50: '#676048',
    500: '#2d2704',
    950: '#000000',
  },
}
SCSS
$custom: #2d2704;
$custom-light: #676048;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2704",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 4
  },
  "hsl": {
    "h": 51.22,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27153,
    "c": 0.05169,
    "h": 99.4
  },
  "luminance": 0.02018
}

Semantic roles & 50–950 ramp

primary
#2D2704
secondary
#1D2970
accent
#4CFA2E
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2704

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

Preview Lab → · Contrast checker → · Palette generator →

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