#2D3111#2D3111

#2D3111 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.1% C 0.051 H 115.4°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#2D3111
RGBrgb(45, 49, 17)
HSLhsl(68, 48%, 13%)
HSVhsv(68, 65%, 19%)
CMYKcmyk(8.2%, 0%, 65.3%, 80.8%)
CIE-LABlab(19.20, -7.50, 19.53)
CIE-LCHlch(19.20, 20.92, 111.01°)
OKLaboklab(30.09% -0.0217 0.0457)
OKLCHoklch(30.09% 0.051 115.4)
XYZxyz(2.2817, 2.7950, 0.9495)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3111 #151131
analogous
#312511 #2D3111 #1D3111
triadic
#2D3111 #112D31 #31112D
tetradic
#2D3111 #113125 #151131 #31111D
square
#2D3111 #113125 #151131 #31111D
split-complementary
#2D3111 #111D31 #251131
monochromatic
#151708 #151708 #2D3111 #575E21 #808C31

Accessibility & contrast

On white

13.47
#2D3111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2D3111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3111
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3111#FFFFFF#000000##FFFFFF
##2D31111.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E0E
Deuteranopia (green-blind)
#342F13
Tritanopia (blue-blind)
#302E2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d3111;
/* rgb */ color: rgb(45, 49, 17);
/* oklch */ color: oklch(30.1% 0.051 115.4);
Tailwind
colors: {
  custom: {
    50: '#676950',
    500: '#2d3111',
    950: '#000000',
  },
}
SCSS
$custom: #2d3111;
$custom-light: #676950;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3111",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 17
  },
  "hsl": {
    "h": 67.5,
    "s": 48.485,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30088,
    "c": 0.05056,
    "h": 115.4
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#2D3111
secondary
#3B346A
accent
#50D861
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2D3111

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

Preview Lab → · Contrast checker → · Palette generator →

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