#2D2201#2D2201

#2D2201 is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.8% C 0.051 H 90.2°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#2D2201
RGBrgb(45, 34, 1)
HSLhsl(45, 96%, 9%)
HSVhsv(45, 98%, 18%)
CMYKcmyk(0%, 24.4%, 97.8%, 82.4%)
CIE-LABlab(13.85, 1.05, 20.02)
CIE-LCHlch(13.85, 20.04, 87.00°)
OKLaboklab(25.78% -0.0002 0.0514)
OKLCHoklch(25.78% 0.051 90.2)
XYZxyz(1.6598, 1.7042, 0.2702)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2201 #010C2D
analogous
#2D0C01 #2D2201 #222D01
triadic
#2D2201 #012D22 #22012D
tetradic
#2D2201 #012D0C #010C2D #2D0122
square
#2D2201 #012D0C #010C2D #2D0122
split-complementary
#2D2201 #01222D #0C012D
monochromatic
#1E1701 #1E1701 #2D2201 #694F02 #A57C04

Accessibility & contrast

On white

15.66
#2D2201 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2D2201 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2201
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2201#FFFFFF#000000##FFFFFF
##2D22011.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#2A2502
Tritanopia (blue-blind)
#321E1B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2d2201;
/* rgb */ color: rgb(45, 34, 1);
/* oklch */ color: oklch(25.8% 0.051 90.2);
Tailwind
colors: {
  custom: {
    50: '#675c47',
    500: '#2d2201',
    950: '#000000',
  },
}
SCSS
$custom: #2d2201;
$custom-light: #675c47;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2201",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 1
  },
  "hsl": {
    "h": 45,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.25775,
    "c": 0.05137,
    "h": 90.2
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#2D2201
secondary
#172E73
accent
#5EFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2D2201

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

Preview Lab → · Contrast checker → · Palette generator →

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