#2D3C13#2D3C13

#2D3C13 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.3% C 0.066 H 126.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#2D3C13
RGBrgb(45, 60, 19)
HSLhsl(82, 52%, 15%)
HSVhsv(82, 68%, 24%)
CMYKcmyk(25%, 0%, 68.3%, 76.5%)
CIE-LABlab(23.12, -13.93, 22.85)
CIE-LCHlch(23.12, 26.76, 121.37°)
OKLaboklab(33.25% -0.0394 0.053)
OKLCHoklch(33.25% 0.066 126.6)
XYZxyz(2.8156, 3.8366, 1.2082)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C13 #22133C
analogous
#3C3613 #2D3C13 #183C13
triadic
#2D3C13 #132D3C #3C132D
tetradic
#2D3C13 #133C36 #22133C #3C1318
square
#2D3C13 #133C36 #22133C #3C1318
split-complementary
#2D3C13 #13183C #36133C
monochromatic
#111707 #111707 #2D3C13 #506A22 #739930

Accessibility & contrast

On white

11.88
#2D3C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2D3C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C13
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C13#FFFFFF#000000##FFFFFF
##2D3C131.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F380E
Deuteranopia (green-blind)
#3D3716
Tritanopia (blue-blind)
#2F3933
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d3c13;
/* rgb */ color: rgb(45, 60, 19);
/* oklch */ color: oklch(33.3% 0.066 126.6);
Tailwind
colors: {
  custom: {
    50: '#677152',
    500: '#2d3c13',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c13;
$custom-light: #677152;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c13",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 19
  },
  "hsl": {
    "h": 81.951,
    "s": 51.899,
    "l": 15.49
  },
  "oklch": {
    "l": 0.3325,
    "c": 0.06609,
    "h": 126.6
  },
  "luminance": 0.03837
}

Semantic roles & 50–950 ramp

primary
#2D3C13
secondary
#4D3674
accent
#4CDB81
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3C13

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

Preview Lab → · Contrast checker → · Palette generator →

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