#2D2908#2D2908

#2D2908 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.7% C 0.049 H 102.4°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#2D2908
RGBrgb(45, 41, 8)
HSLhsl(54, 70%, 10%)
HSVhsv(54, 82%, 18%)
CMYKcmyk(0%, 8.9%, 82.2%, 82.4%)
CIE-LABlab(16.31, -3.13, 20.32)
CIE-LCHlch(16.31, 20.56, 98.75°)
OKLaboklab(27.75% -0.0106 0.0483)
OKLCHoklch(27.75% 0.049 102.4)
XYZxyz(1.9190, 2.1614, 0.5458)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2908 #080C2D
analogous
#2D1608 #2D2908 #1E2D08
triadic
#2D2908 #082D29 #29082D
tetradic
#2D2908 #082D16 #080C2D #2D081E
square
#2D2908 #082D16 #080C2D #2D081E
split-complementary
#2D2908 #081E2D #16082D
monochromatic
#1A1805 #1A1805 #2D2908 #615811 #95881A

Accessibility & contrast

On white

14.66
#2D2908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2D2908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2908
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2908#FFFFFF#000000##FFFFFF
##2D29081.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2705
Deuteranopia (green-blind)
#2F290A
Tritanopia (blue-blind)
#312622
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d2908;
/* rgb */ color: rgb(45, 41, 8);
/* oklch */ color: oklch(27.7% 0.049 102.4);
Tailwind
colors: {
  custom: {
    50: '#67624a',
    500: '#2d2908',
    950: '#000000',
  },
}
SCSS
$custom: #2d2908;
$custom-light: #67624a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2908",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 8
  },
  "hsl": {
    "h": 53.514,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27748,
    "c": 0.0494,
    "h": 102.4
  },
  "luminance": 0.02161
}

Semantic roles & 50–950 ramp

primary
#2D2908
secondary
#252D6C
accent
#4EED3B
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D2908

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

Preview Lab → · Contrast checker → · Palette generator →

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