#2D3112#2D3112

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

Color values

HEX#2D3112
RGBrgb(45, 49, 18)
HSLhsl(68, 46%, 13%)
HSVhsv(68, 63%, 19%)
CMYKcmyk(8.2%, 0%, 63.3%, 80.8%)
CIE-LABlab(19.22, -7.39, 18.95)
CIE-LCHlch(19.22, 20.34, 111.31°)
OKLaboklab(30.1% -0.0213 0.0445)
OKLCHoklch(30.1% 0.049 115.5)
XYZxyz(2.2897, 2.7982, 0.9916)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3112 #161231
analogous
#312512 #2D3112 #1D3112
triadic
#2D3112 #122D31 #31122D
tetradic
#2D3112 #123125 #161231 #31121D
square
#2D3112 #123125 #161231 #31121D
split-complementary
#2D3112 #121D31 #251231
monochromatic
#151608 #151608 #2D3112 #565E22 #7F8B33

Accessibility & contrast

On white

13.46
#2D3112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3112
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3112#FFFFFF#000000##FFFFFF
##2D31121.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3112;
/* rgb */ color: rgb(45, 49, 18);
/* oklch */ color: oklch(30.1% 0.049 115.5);
Tailwind
colors: {
  custom: {
    50: '#676951',
    500: '#2d3112',
    950: '#000000',
  },
}
SCSS
$custom: #2d3112;
$custom-light: #676951;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3112",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 18
  },
  "hsl": {
    "h": 67.742,
    "s": 46.269,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30103,
    "c": 0.04936,
    "h": 115.5
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#2D3112
secondary
#3C3669
accent
#52D663
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2D3112

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

Preview Lab → · Contrast checker → · Palette generator →

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