#2D2904#2D2904

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

Color values

HEX#2D2904
RGBrgb(45, 41, 4)
HSLhsl(54, 84%, 10%)
HSVhsv(54, 91%, 18%)
CMYKcmyk(0%, 8.9%, 91.1%, 82.4%)
CIE-LABlab(16.27, -3.46, 21.89)
CIE-LCHlch(16.27, 22.16, 98.98°)
OKLaboklab(27.7% -0.0122 0.0523)
OKLCHoklch(27.7% 0.054 103.1)
XYZxyz(1.8971, 2.1526, 0.4304)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2904 #04082D
analogous
#2D1504 #2D2904 #1D2D04
triadic
#2D2904 #042D29 #29042D
tetradic
#2D2904 #042D15 #04082D #2D041D
square
#2D2904 #042D15 #04082D #2D041D
split-complementary
#2D2904 #041D2D #15042D
monochromatic
#1C1A02 #1C1A02 #2D2904 #655C09 #9D8F0E

Accessibility & contrast

On white

14.68
#2D2904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2904
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2904#FFFFFF#000000##FFFFFF
##2D29041.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2F2906
Tritanopia (blue-blind)
#312522
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d2904;
/* rgb */ color: rgb(45, 41, 4);
/* oklch */ color: oklch(27.7% 0.054 103.1);
Tailwind
colors: {
  custom: {
    50: '#676248',
    500: '#2d2904',
    950: '#000000',
  },
}
SCSS
$custom: #2d2904;
$custom-light: #676248;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2904",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 4
  },
  "hsl": {
    "h": 54.146,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.277,
    "c": 0.05374,
    "h": 103.1
  },
  "luminance": 0.02153
}

Semantic roles & 50–950 ramp

primary
#2D2904
secondary
#1D2570
accent
#42FA2E
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2904

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

Preview Lab → · Contrast checker → · Palette generator →

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