#2D3512#2D3512

#2D3512 is a dark, muted yellow-green. Relative luminance 0.031; OKLCH L 31.2% C 0.056 H 120.5°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#2D3512
RGBrgb(45, 53, 18)
HSLhsl(74, 49%, 14%)
HSVhsv(74, 66%, 21%)
CMYKcmyk(15.1%, 0%, 66%, 79.2%)
CIE-LABlab(20.63, -9.88, 20.58)
CIE-LCHlch(20.63, 22.83, 115.65°)
OKLaboklab(31.23% -0.0283 0.0481)
OKLCHoklch(31.23% 0.056 120.5)
XYZxyz(2.4645, 3.1478, 1.0499)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3512 #1A1235
analogous
#352C12 #2D3512 #1C3512
triadic
#2D3512 #122D35 #35122D
tetradic
#2D3512 #12352C #1A1235 #35121C
square
#2D3512 #12352C #1A1235 #35121C
split-complementary
#2D3512 #121C35 #2C1235
monochromatic
#131708 #131708 #2D3512 #546322 #7B9031

Accessibility & contrast

On white

12.89
#2D3512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2D3512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3512
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3512#FFFFFF#000000##FFFFFF
##2D35121.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320E
Deuteranopia (green-blind)
#383214
Tritanopia (blue-blind)
#30322D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d3512;
/* rgb */ color: rgb(45, 53, 18);
/* oklch */ color: oklch(31.2% 0.056 120.5);
Tailwind
colors: {
  custom: {
    50: '#676c51',
    500: '#2d3512',
    950: '#000000',
  },
}
SCSS
$custom: #2d3512;
$custom-light: #676c51;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3512",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 18
  },
  "hsl": {
    "h": 73.714,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31233,
    "c": 0.05576,
    "h": 120.5
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#2D3512
secondary
#42356D
accent
#4FD96E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2D3512

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

Preview Lab → · Contrast checker → · Palette generator →

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