#2D2801#2D2801

#2D2801 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.056 H 102.0°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#2D2801
RGBrgb(45, 40, 1)
HSLhsl(53, 96%, 9%)
HSVhsv(53, 98%, 18%)
CMYKcmyk(0%, 11.1%, 97.8%, 82.4%)
CIE-LABlab(15.89, -3.04, 22.64)
CIE-LCHlch(15.89, 22.84, 97.66°)
OKLaboklab(27.39% -0.0117 0.0549)
OKLCHoklch(27.39% 0.056 102)
XYZxyz(1.8466, 2.0778, 0.3325)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2801 #01062D
analogous
#2D1201 #2D2801 #1C2D01
triadic
#2D2801 #012D28 #28012D
tetradic
#2D2801 #012D12 #01062D #2D011C
square
#2D2801 #012D12 #01062D #2D011C
split-complementary
#2D2801 #011C2D #12012D
monochromatic
#1E1B01 #1E1B01 #2D2801 #695D02 #A59204

Accessibility & contrast

On white

14.83
#2D2801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2D2801 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2801
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2801#FFFFFF#000000##FFFFFF
##2D28011.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2E2803
Tritanopia (blue-blind)
#312421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d2801;
/* rgb */ color: rgb(45, 40, 1);
/* oklch */ color: oklch(27.4% 0.056 102.0);
Tailwind
colors: {
  custom: {
    50: '#676147',
    500: '#2d2801',
    950: '#000000',
  },
}
SCSS
$custom: #2d2801;
$custom-light: #676147;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2801",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 1
  },
  "hsl": {
    "h": 53.182,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.27388,
    "c": 0.05617,
    "h": 102
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#2D2801
secondary
#172173
accent
#41FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2801

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

Preview Lab → · Contrast checker → · Palette generator →

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