#2D2D04#2D2D04

#2D2D04 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.8% C 0.058 H 109.6°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#2D2D04
RGBrgb(45, 45, 4)
HSLhsl(60, 84%, 10%)
HSVhsv(60, 91%, 18%)
CMYKcmyk(0%, 0%, 91.1%, 82.4%)
CIE-LABlab(17.66, -6.08, 23.60)
CIE-LCHlch(17.66, 24.37, 104.44°)
OKLaboklab(28.81% -0.0195 0.055)
OKLCHoklch(28.81% 0.058 109.6)
XYZxyz(2.0426, 2.4435, 0.4789)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D04 #04042D
analogous
#2D1904 #2D2D04 #192D04
triadic
#2D2D04 #042D2D #2D042D
tetradic
#2D2D04 #042D19 #04042D #2D0419
square
#2D2D04 #042D19 #04042D #2D0419
split-complementary
#2D2D04 #04192D #19042D
monochromatic
#1C1C02 #1C1C02 #2D2D04 #656509 #9D9D0E

Accessibility & contrast

On white

14.11
#2D2D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2D2D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D04
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D04#FFFFFF#000000##FFFFFF
##2D2D041.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#322C07
Tritanopia (blue-blind)
#312925
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2d2d04;
/* rgb */ color: rgb(45, 45, 4);
/* oklch */ color: oklch(28.8% 0.058 109.6);
Tailwind
colors: {
  custom: {
    50: '#676549',
    500: '#2d2d04',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d04;
$custom-light: #676549;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d04",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 60,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2881,
    "c": 0.05838,
    "h": 109.6
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#2D2D04
secondary
#1D1D70
accent
#2EFA2E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2D2D04

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

Preview Lab → · Contrast checker → · Palette generator →

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