#2D2804#2D2804

#2D2804 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.053 H 101.3°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#2D2804
RGBrgb(45, 40, 4)
HSLhsl(53, 84%, 10%)
HSVhsv(53, 91%, 18%)
CMYKcmyk(0%, 11.1%, 91.1%, 82.4%)
CIE-LABlab(15.92, -2.79, 21.46)
CIE-LCHlch(15.92, 21.64, 97.41°)
OKLaboklab(27.43% -0.0103 0.0517)
OKLCHoklch(27.43% 0.053 101.3)
XYZxyz(1.8630, 2.0843, 0.4190)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2804 #04092D
analogous
#2D1404 #2D2804 #1E2D04
triadic
#2D2804 #042D28 #28042D
tetradic
#2D2804 #042D14 #04092D #2D041E
square
#2D2804 #042D14 #04092D #2D041E
split-complementary
#2D2804 #041E2D #14042D
monochromatic
#1C1902 #1C1902 #2D2804 #655A09 #9D8C0E

Accessibility & contrast

On white

14.82
#2D2804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2804
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2804#FFFFFF#000000##FFFFFF
##2D28041.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2804;
/* rgb */ color: rgb(45, 40, 4);
/* oklch */ color: oklch(27.4% 0.053 101.3);
Tailwind
colors: {
  custom: {
    50: '#676148',
    500: '#2d2804',
    950: '#000000',
  },
}
SCSS
$custom: #2d2804;
$custom-light: #676148;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2804",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 4
  },
  "hsl": {
    "h": 52.683,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27426,
    "c": 0.05269,
    "h": 101.3
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#2D2804
secondary
#1D2770
accent
#47FA2E
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2804

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

Preview Lab → · Contrast checker → · Palette generator →

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