#2D2706#2D2706

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

Color values

HEX#2D2706
RGBrgb(45, 39, 6)
HSLhsl(51, 76%, 10%)
HSVhsv(51, 87%, 18%)
CMYKcmyk(0%, 13.3%, 86.7%, 82.4%)
CIE-LABlab(15.60, -1.95, 20.24)
CIE-LCHlch(15.60, 20.34, 95.50°)
OKLaboklab(27.18% -0.0076 0.0488)
OKLCHoklch(27.18% 0.049 98.8)
XYZxyz(1.8407, 2.0222, 0.4656)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2706 #060C2D
analogous
#2D1306 #2D2706 #202D06
triadic
#2D2706 #062D27 #27062D
tetradic
#2D2706 #062D13 #060C2D #2D0620
square
#2D2706 #062D13 #060C2D #2D0620
split-complementary
#2D2706 #06202D #13062D
monochromatic
#1B1704 #1B1704 #2D2706 #63560D #998514

Accessibility & contrast

On white

14.95
#2D2706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2706
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2706#FFFFFF#000000##FFFFFF
##2D27061.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2706;
/* rgb */ color: rgb(45, 39, 6);
/* oklch */ color: oklch(27.2% 0.049 98.8);
Tailwind
colors: {
  custom: {
    50: '#676049',
    500: '#2d2706',
    950: '#000000',
  },
}
SCSS
$custom: #2d2706;
$custom-light: #676049;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2706",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 6
  },
  "hsl": {
    "h": 50.769,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.27178,
    "c": 0.04942,
    "h": 98.8
  },
  "luminance": 0.02022
}

Semantic roles & 50–950 ramp

primary
#2D2706
secondary
#212D6E
accent
#52F335
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D2706

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

Preview Lab → · Contrast checker → · Palette generator →

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