#2D2703#2D2703

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

Color values

HEX#2D2703
RGBrgb(45, 39, 3)
HSLhsl(51, 88%, 9%)
HSVhsv(51, 93%, 18%)
CMYKcmyk(0%, 13.3%, 93.3%, 82.4%)
CIE-LABlab(15.57, -2.20, 21.42)
CIE-LCHlch(15.57, 21.53, 95.87°)
OKLaboklab(27.14% -0.0089 0.0521)
OKLCHoklch(27.14% 0.053 99.7)
XYZxyz(1.8242, 2.0156, 0.3791)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2703 #03092D
analogous
#2D1203 #2D2703 #1E2D03
triadic
#2D2703 #032D27 #27032D
tetradic
#2D2703 #032D12 #03092D #2D031E
square
#2D2703 #032D12 #03092D #2D031E
split-complementary
#2D2703 #031E2D #12032D
monochromatic
#1D1902 #1D1902 #2D2703 #665907 #A08A0B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D2703#FFFFFF#000000##FFFFFF
##2D27031.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)
#2E2805
Tritanopia (blue-blind)
#312320
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2d2703;
/* rgb */ color: rgb(45, 39, 3);
/* oklch */ color: oklch(27.1% 0.053 99.7);
Tailwind
colors: {
  custom: {
    50: '#676048',
    500: '#2d2703',
    950: '#000000',
  },
}
SCSS
$custom: #2d2703;
$custom-light: #676048;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2703",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 3
  },
  "hsl": {
    "h": 51.429,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.2714,
    "c": 0.05284,
    "h": 99.7
  },
  "luminance": 0.02016
}

Semantic roles & 50–950 ramp

primary
#2D2703
secondary
#1B2771
accent
#48FE2A
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2703

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

Preview Lab → · Contrast checker → · Palette generator →

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