#2D2302#2D2302

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

Color values

HEX#2D2302
RGBrgb(45, 35, 2)
HSLhsl(46, 91%, 9%)
HSVhsv(46, 96%, 18%)
CMYKcmyk(0%, 22.2%, 95.6%, 82.4%)
CIE-LABlab(14.20, 0.45, 20.06)
CIE-LCHlch(14.20, 20.07, 88.73°)
OKLaboklab(26.05% -0.0016 0.0507)
OKLCHoklch(26.05% 0.051 91.9)
XYZxyz(1.6943, 1.7644, 0.3088)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2302 #020C2D
analogous
#2D0E02 #2D2302 #222D02
triadic
#2D2302 #022D23 #23022D
tetradic
#2D2302 #022D0E #020C2D #2D0222
square
#2D2302 #022D0E #020C2D #2D0222
split-complementary
#2D2302 #02222D #0E022D
monochromatic
#1D1701 #1D1701 #2D2302 #685105 #A27E07

Accessibility & contrast

On white

15.52
#2D2302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2302
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2302#FFFFFF#000000##FFFFFF
##2D23021.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#2B2503
Tritanopia (blue-blind)
#321F1C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2d2302;
/* rgb */ color: rgb(45, 35, 2);
/* oklch */ color: oklch(26.1% 0.051 91.9);
Tailwind
colors: {
  custom: {
    50: '#675d47',
    500: '#2d2302',
    950: '#000000',
  },
}
SCSS
$custom: #2d2302;
$custom-light: #675d47;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2302",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 2
  },
  "hsl": {
    "h": 46.047,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26053,
    "c": 0.05075,
    "h": 91.9
  },
  "luminance": 0.01764
}

Semantic roles & 50–950 ramp

primary
#2D2302
secondary
#192E72
accent
#5BFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2D2302

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

Preview Lab → · Contrast checker → · Palette generator →

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