#2D2803#2D2803

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

Color values

HEX#2D2803
RGBrgb(45, 40, 3)
HSLhsl(53, 88%, 9%)
HSVhsv(53, 93%, 18%)
CMYKcmyk(0%, 11.1%, 93.3%, 82.4%)
CIE-LABlab(15.91, -2.87, 21.85)
CIE-LCHlch(15.91, 22.04, 97.49°)
OKLaboklab(27.41% -0.0108 0.0527)
OKLCHoklch(27.41% 0.054 101.6)
XYZxyz(1.8575, 2.0821, 0.3902)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2803 #03082D
analogous
#2D1303 #2D2803 #1D2D03
triadic
#2D2803 #032D28 #28032D
tetradic
#2D2803 #032D13 #03082D #2D031D
square
#2D2803 #032D13 #03082D #2D031D
split-complementary
#2D2803 #031D2D #13032D
monochromatic
#1D1902 #1D1902 #2D2803 #665B07 #A08E0B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D2803#FFFFFF#000000##FFFFFF
##2D28031.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)
#2E2805
Tritanopia (blue-blind)
#312421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d2803;
/* rgb */ color: rgb(45, 40, 3);
/* oklch */ color: oklch(27.4% 0.054 101.6);
Tailwind
colors: {
  custom: {
    50: '#676148',
    500: '#2d2803',
    950: '#000000',
  },
}
SCSS
$custom: #2d2803;
$custom-light: #676148;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2803",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 52.857,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27413,
    "c": 0.05382,
    "h": 101.6
  },
  "luminance": 0.02082
}

Semantic roles & 50–950 ramp

primary
#2D2803
secondary
#1B2571
accent
#43FE2A
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2803

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

Preview Lab → · Contrast checker → · Palette generator →

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