#2D2808#2D2808

#2D2808 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.048 H 100.4°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#2D2808
RGBrgb(45, 40, 8)
HSLhsl(52, 70%, 10%)
HSVhsv(52, 82%, 18%)
CMYKcmyk(0%, 11.1%, 82.2%, 82.4%)
CIE-LABlab(15.97, -2.46, 19.89)
CIE-LCHlch(15.97, 20.04, 97.04°)
OKLaboklab(27.48% -0.0087 0.0475)
OKLCHoklch(27.48% 0.048 100.4)
XYZxyz(1.8849, 2.0931, 0.5344)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2808 #080D2D
analogous
#2D1508 #2D2808 #1F2D08
triadic
#2D2808 #082D28 #28082D
tetradic
#2D2808 #082D15 #080D2D #2D081F
square
#2D2808 #082D15 #080D2D #2D081F
split-complementary
#2D2808 #081F2D #15082D
monochromatic
#1A1705 #1A1705 #2D2808 #615611 #95841A

Accessibility & contrast

On white

14.80
#2D2808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2D2808 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2808
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2808#FFFFFF#000000##FFFFFF
##2D28081.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2705
Deuteranopia (green-blind)
#2E290A
Tritanopia (blue-blind)
#312421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d2808;
/* rgb */ color: rgb(45, 40, 8);
/* oklch */ color: oklch(27.5% 0.048 100.4);
Tailwind
colors: {
  custom: {
    50: '#67614a',
    500: '#2d2808',
    950: '#000000',
  },
}
SCSS
$custom: #2d2808;
$custom-light: #67614a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2808",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 8
  },
  "hsl": {
    "h": 51.892,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27475,
    "c": 0.0483,
    "h": 100.4
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#2D2808
secondary
#252F6C
accent
#53ED3B
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D2808

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

Preview Lab → · Contrast checker → · Palette generator →

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