#2D2702#2D2702

#2D2702 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.1% C 0.054 H 100.0°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#2D2702
RGBrgb(45, 39, 2)
HSLhsl(52, 91%, 9%)
HSVhsv(52, 96%, 18%)
CMYKcmyk(0%, 13.3%, 95.6%, 82.4%)
CIE-LABlab(15.56, -2.29, 21.81)
CIE-LCHlch(15.56, 21.93, 95.98°)
OKLaboklab(27.13% -0.0093 0.0532)
OKLCHoklch(27.13% 0.054 100)
XYZxyz(1.8188, 2.0134, 0.3502)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2702 #02082D
analogous
#2D1202 #2D2702 #1E2D02
triadic
#2D2702 #022D27 #27022D
tetradic
#2D2702 #022D12 #02082D #2D021E
square
#2D2702 #022D12 #02082D #2D021E
split-complementary
#2D2702 #021E2D #12022D
monochromatic
#1D1901 #1D1901 #2D2702 #685A05 #A28D07

Accessibility & contrast

On white

14.97
#2D2702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2D2702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2702
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2702#FFFFFF#000000##FFFFFF
##2D27021.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#2E2804
Tritanopia (blue-blind)
#312320
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2d2702;
/* rgb */ color: rgb(45, 39, 2);
/* oklch */ color: oklch(27.1% 0.054 100.0);
Tailwind
colors: {
  custom: {
    50: '#676047',
    500: '#2d2702',
    950: '#000000',
  },
}
SCSS
$custom: #2d2702;
$custom-light: #676047;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2702",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 51.628,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27128,
    "c": 0.05402,
    "h": 100
  },
  "luminance": 0.02013
}

Semantic roles & 50–950 ramp

primary
#2D2702
secondary
#192572
accent
#47FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2702

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

Preview Lab → · Contrast checker → · Palette generator →

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