#2D2701#2D2701

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

Color values

HEX#2D2701
RGBrgb(45, 39, 1)
HSLhsl(52, 96%, 9%)
HSVhsv(52, 98%, 18%)
CMYKcmyk(0%, 13.3%, 97.8%, 82.4%)
CIE-LABlab(15.55, -2.37, 22.21)
CIE-LCHlch(15.55, 22.33, 96.10°)
OKLaboklab(27.12% -0.0098 0.0543)
OKLCHoklch(27.12% 0.055 100.2)
XYZxyz(1.8133, 2.0112, 0.3214)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2701 #01072D
analogous
#2D1101 #2D2701 #1D2D01
triadic
#2D2701 #012D27 #27012D
tetradic
#2D2701 #012D11 #01072D #2D011D
square
#2D2701 #012D11 #01072D #2D011D
split-complementary
#2D2701 #011D2D #11012D
monochromatic
#1E1A01 #1E1A01 #2D2701 #695B02 #A58F04

Accessibility & contrast

On white

14.98
#2D2701 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2701
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2701#FFFFFF#000000##FFFFFF
##2D27011.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2701;
/* rgb */ color: rgb(45, 39, 1);
/* oklch */ color: oklch(27.1% 0.055 100.2);
Tailwind
colors: {
  custom: {
    50: '#676047',
    500: '#2d2701',
    950: '#000000',
  },
}
SCSS
$custom: #2d2701;
$custom-light: #676047;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2701",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 1
  },
  "hsl": {
    "h": 51.818,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.27115,
    "c": 0.05522,
    "h": 100.2
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#2D2701
secondary
#172373
accent
#46FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2701

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

Preview Lab → · Contrast checker → · Palette generator →

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