#2D3312#2D3312

#2D3312 is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 30.7% C 0.053 H 118.2°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#2D3312
RGBrgb(45, 51, 18)
HSLhsl(71, 48%, 14%)
HSVhsv(71, 65%, 20%)
CMYKcmyk(11.8%, 0%, 64.7%, 80%)
CIE-LABlab(19.92, -8.65, 19.77)
CIE-LCHlch(19.92, 21.58, 113.63°)
OKLaboklab(30.67% -0.0248 0.0463)
OKLCHoklch(30.67% 0.053 118.2)
XYZxyz(2.3752, 2.9692, 1.0201)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3312 #181233
analogous
#332812 #2D3312 #1C3312
triadic
#2D3312 #122D33 #33122D
tetradic
#2D3312 #123328 #181233 #33121C
square
#2D3312 #123328 #181233 #33121C
split-complementary
#2D3312 #121C33 #281233
monochromatic
#141708 #141708 #2D3312 #556022 #7D8D32

Accessibility & contrast

On white

13.18
#2D3312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2D3312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3312
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3312#FFFFFF#000000##FFFFFF
##2D33121.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300F
Deuteranopia (green-blind)
#363014
Tritanopia (blue-blind)
#30302C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d3312;
/* rgb */ color: rgb(45, 51, 18);
/* oklch */ color: oklch(30.7% 0.053 118.2);
Tailwind
colors: {
  custom: {
    50: '#676a51',
    500: '#2d3312',
    950: '#000000',
  },
}
SCSS
$custom: #2d3312;
$custom-light: #676a51;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3312",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 18
  },
  "hsl": {
    "h": 70.909,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30666,
    "c": 0.05253,
    "h": 118.2
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#2D3312
secondary
#3F356B
accent
#50D769
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2D3312

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

Preview Lab → · Contrast checker → · Palette generator →

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