#2D2A04#2D2A04

#2D2A04 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.0% C 0.055 H 104.9°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#2D2A04
RGBrgb(45, 42, 4)
HSLhsl(56, 84%, 10%)
HSVhsv(56, 91%, 18%)
CMYKcmyk(0%, 6.7%, 91.1%, 82.4%)
CIE-LABlab(16.62, -4.12, 22.32)
CIE-LCHlch(16.62, 22.70, 100.46°)
OKLaboklab(27.98% -0.0141 0.053)
OKLCHoklch(27.98% 0.055 104.9)
XYZxyz(1.9322, 2.2227, 0.4421)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A04 #04072D
analogous
#2D1604 #2D2A04 #1C2D04
triadic
#2D2A04 #042D2A #2A042D
tetradic
#2D2A04 #042D16 #04072D #2D041C
square
#2D2A04 #042D16 #04072D #2D041C
split-complementary
#2D2A04 #041C2D #16042D
monochromatic
#1C1A02 #1C1A02 #2D2A04 #655E09 #9D930E

Accessibility & contrast

On white

14.54
#2D2A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2D2A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A04
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A04#FFFFFF#000000##FFFFFF
##2D2A041.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#302A06
Tritanopia (blue-blind)
#312623
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2d2a04;
/* rgb */ color: rgb(45, 42, 4);
/* oklch */ color: oklch(28.0% 0.055 104.9);
Tailwind
colors: {
  custom: {
    50: '#676349',
    500: '#2d2a04',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a04;
$custom-light: #676349;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a04",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 4
  },
  "hsl": {
    "h": 55.61,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27975,
    "c": 0.05484,
    "h": 104.9
  },
  "luminance": 0.02223
}

Semantic roles & 50–950 ramp

primary
#2D2A04
secondary
#1D2370
accent
#3DFA2E
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2A04

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

Preview Lab → · Contrast checker → · Palette generator →

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