#2D2502#2D2502

#2D2502 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.6% C 0.052 H 96.1°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#2D2502
RGBrgb(45, 37, 2)
HSLhsl(49, 91%, 9%)
HSVhsv(49, 96%, 18%)
CMYKcmyk(0%, 17.8%, 95.6%, 82.4%)
CIE-LABlab(14.87, -0.93, 20.94)
CIE-LCHlch(14.87, 20.96, 92.54°)
OKLaboklab(26.59% -0.0055 0.052)
OKLCHoklch(26.59% 0.052 96.1)
XYZxyz(1.7548, 1.8855, 0.3289)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2502 #020A2D
analogous
#2D1002 #2D2502 #202D02
triadic
#2D2502 #022D25 #25022D
tetradic
#2D2502 #022D10 #020A2D #2D0220
square
#2D2502 #022D10 #020A2D #2D0220
split-complementary
#2D2502 #02202D #10022D
monochromatic
#1D1801 #1D1801 #2D2502 #685505 #A28507

Accessibility & contrast

On white

15.25
#2D2502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2D2502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2502
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2502#FFFFFF#000000##FFFFFF
##2D25021.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#2C2604
Tritanopia (blue-blind)
#32211E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2d2502;
/* rgb */ color: rgb(45, 37, 2);
/* oklch */ color: oklch(26.6% 0.052 96.1);
Tailwind
colors: {
  custom: {
    50: '#675f47',
    500: '#2d2502',
    950: '#000000',
  },
}
SCSS
$custom: #2d2502;
$custom-light: #675f47;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2502",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 2
  },
  "hsl": {
    "h": 48.837,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26587,
    "c": 0.05225,
    "h": 96.1
  },
  "luminance": 0.01885
}

Semantic roles & 50–950 ramp

primary
#2D2502
secondary
#192972
accent
#51FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2D2502

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

Preview Lab → · Contrast checker → · Palette generator →

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