#2D2304#2D2304

#2D2304 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.1% C 0.048 H 90.8°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#2D2304
RGBrgb(45, 35, 4)
HSLhsl(45, 84%, 10%)
HSVhsv(45, 91%, 18%)
CMYKcmyk(0%, 22.2%, 91.1%, 82.4%)
CIE-LABlab(14.22, 0.62, 19.28)
CIE-LCHlch(14.22, 19.29, 88.17°)
OKLaboklab(26.08% -0.0007 0.0483)
OKLCHoklch(26.08% 0.048 90.8)
XYZxyz(1.7052, 1.7688, 0.3664)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2304 #040E2D
analogous
#2D0F04 #2D2304 #232D04
triadic
#2D2304 #042D23 #23042D
tetradic
#2D2304 #042D0F #040E2D #2D0423
square
#2D2304 #042D0F #040E2D #2D0423
split-complementary
#2D2304 #04232D #0F042D
monochromatic
#1C1602 #1C1602 #2D2304 #654F09 #9D7A0E

Accessibility & contrast

On white

15.51
#2D2304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2D2304 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2304
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2304#FFFFFF#000000##FFFFFF
##2D23041.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282201
Deuteranopia (green-blind)
#2B2505
Tritanopia (blue-blind)
#321F1D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2d2304;
/* rgb */ color: rgb(45, 35, 4);
/* oklch */ color: oklch(26.1% 0.048 90.8);
Tailwind
colors: {
  custom: {
    50: '#675d48',
    500: '#2d2304',
    950: '#000000',
  },
}
SCSS
$custom: #2d2304;
$custom-light: #675d48;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2304",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 4
  },
  "hsl": {
    "h": 45.366,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2608,
    "c": 0.04832,
    "h": 90.8
  },
  "luminance": 0.01769
}

Semantic roles & 50–950 ramp

primary
#2D2304
secondary
#1D3170
accent
#60FA2E
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2D2304

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

Preview Lab → · Contrast checker → · Palette generator →

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