#2D3404#2D3404

#2D3404 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.8% C 0.068 H 117.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#2D3404
RGBrgb(45, 52, 4)
HSLhsl(69, 86%, 11%)
HSVhsv(69, 92%, 20%)
CMYKcmyk(13.5%, 0%, 92.3%, 79.6%)
CIE-LABlab(20.13, -10.46, 26.48)
CIE-LCHlch(20.13, 28.48, 111.55°)
OKLaboklab(30.79% -0.0316 0.0597)
OKLCHoklch(30.79% 0.068 117.9)
XYZxyz(2.3322, 3.0227, 0.5754)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3404 #0B0434
analogous
#342304 #2D3404 #153404
triadic
#2D3404 #042D34 #34042D
tetradic
#2D3404 #043423 #0B0434 #340415
square
#2D3404 #043423 #0B0434 #340415
split-complementary
#2D3404 #041534 #230434
monochromatic
#191C02 #191C02 #2D3404 #5E6D08 #8FA60D

Accessibility & contrast

On white

13.09
#2D3404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2D3404 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3404
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3404#FFFFFF#000000##FFFFFF
##2D34041.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#383108
Tritanopia (blue-blind)
#30302B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d3404;
/* rgb */ color: rgb(45, 52, 4);
/* oklch */ color: oklch(30.8% 0.068 117.9);
Tailwind
colors: {
  custom: {
    50: '#686b49',
    500: '#2d3404',
    950: '#000000',
  },
}
SCSS
$custom: #2d3404;
$custom-light: #686b49;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3404",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 4
  },
  "hsl": {
    "h": 68.75,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.30794,
    "c": 0.06758,
    "h": 117.9
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#2D3404
secondary
#2A1E76
accent
#2CFC4A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3404

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

Preview Lab → · Contrast checker → · Palette generator →

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