#2D3612#2D3612

#2D3612 is a dark, muted yellow-green. Relative luminance 0.032; OKLCH L 31.5% C 0.057 H 121.5°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#2D3612
RGBrgb(45, 54, 18)
HSLhsl(75, 50%, 14%)
HSVhsv(75, 67%, 21%)
CMYKcmyk(16.7%, 0%, 66.7%, 78.8%)
CIE-LABlab(20.98, -10.49, 20.98)
CIE-LCHlch(20.98, 23.46, 116.56°)
OKLaboklab(31.52% -0.03 0.0489)
OKLCHoklch(31.52% 0.057 121.5)
XYZxyz(2.5106, 3.2399, 1.0653)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3612 #1B1236
analogous
#362D12 #2D3612 #1B3612
triadic
#2D3612 #122D36 #36122D
tetradic
#2D3612 #12362D #1B1236 #36121B
square
#2D3612 #12362D #1B1236 #36121B
split-complementary
#2D3612 #121B36 #2D1236
monochromatic
#131708 #131708 #2D3612 #536421 #7A9231

Accessibility & contrast

On white

12.74
#2D3612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2D3612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3612
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3612#FFFFFF#000000##FFFFFF
##2D36121.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39330E
Deuteranopia (green-blind)
#383214
Tritanopia (blue-blind)
#30332E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d3612;
/* rgb */ color: rgb(45, 54, 18);
/* oklch */ color: oklch(31.5% 0.057 121.5);
Tailwind
colors: {
  custom: {
    50: '#676d51',
    500: '#2d3612',
    950: '#000000',
  },
}
SCSS
$custom: #2d3612;
$custom-light: #676d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3612",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 18
  },
  "hsl": {
    "h": 75,
    "s": 50,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31518,
    "c": 0.05738,
    "h": 121.5
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#2D3612
secondary
#44356F
accent
#4EDA71
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3612

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

Preview Lab → · Contrast checker → · Palette generator →

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