#2D2708#2D2708

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

Color values

HEX#2D2708
RGBrgb(45, 39, 8)
HSLhsl(50, 70%, 10%)
HSVhsv(50, 82%, 18%)
CMYKcmyk(0%, 13.3%, 82.2%, 82.4%)
CIE-LABlab(15.63, -1.78, 19.46)
CIE-LCHlch(15.63, 19.54, 95.23°)
OKLaboklab(27.2% -0.0067 0.0468)
OKLCHoklch(27.2% 0.047 98.2)
XYZxyz(1.8516, 2.0265, 0.5233)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2708 #080E2D
analogous
#2D1408 #2D2708 #202D08
triadic
#2D2708 #082D27 #27082D
tetradic
#2D2708 #082D14 #080E2D #2D0820
square
#2D2708 #082D14 #080E2D #2D0820
split-complementary
#2D2708 #08202D #14082D
monochromatic
#1A1705 #1A1705 #2D2708 #615411 #95811A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D2708#FFFFFF#000000##FFFFFF
##2D27081.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)
#2C2605
Deuteranopia (green-blind)
#2D280A
Tritanopia (blue-blind)
#312321
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2d2708;
/* rgb */ color: rgb(45, 39, 8);
/* oklch */ color: oklch(27.2% 0.047 98.2);
Tailwind
colors: {
  custom: {
    50: '#67604a',
    500: '#2d2708',
    950: '#000000',
  },
}
SCSS
$custom: #2d2708;
$custom-light: #67604a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2708",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 8
  },
  "hsl": {
    "h": 50.27,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27204,
    "c": 0.04724,
    "h": 98.2
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#2D2708
secondary
#25306C
accent
#58ED3B
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D2708

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

Preview Lab → · Contrast checker → · Palette generator →

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