#2D3C0D#2D3C0D

#2D3C0D is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.072 H 125.5°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#2D3C0D
RGBrgb(45, 60, 13)
HSLhsl(79, 64%, 14%)
HSVhsv(79, 78%, 24%)
CMYKcmyk(25%, 0%, 78.3%, 76.5%)
CIE-LABlab(23.06, -14.49, 25.86)
CIE-LCHlch(23.06, 29.65, 119.26°)
OKLaboklab(33.18% -0.0417 0.0585)
OKLCHoklch(33.18% 0.072 125.5)
XYZxyz(2.7707, 3.8186, 0.9718)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C0D #1C0D3C
analogous
#3C340D #2D3C0D #163C0D
triadic
#2D3C0D #0D2D3C #3C0D2D
tetradic
#2D3C0D #0D3C34 #1C0D3C #3C0D16
square
#2D3C0D #0D3C34 #1C0D3C #3C0D16
split-complementary
#2D3C0D #0D163C #340D3C
monochromatic
#131905 #131905 #2D3C0D #536E18 #78A123

Accessibility & contrast

On white

11.91
#2D3C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2D3C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C0D
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C0D#FFFFFF#000000##FFFFFF
##2D3C0D1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3c0d;
/* rgb */ color: rgb(45, 60, 13);
/* oklch */ color: oklch(33.2% 0.072 125.5);
Tailwind
colors: {
  custom: {
    50: '#68714f',
    500: '#2d3c0d',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c0d;
$custom-light: #68714f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c0d",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 13
  },
  "hsl": {
    "h": 79.149,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33181,
    "c": 0.07179,
    "h": 125.5
  },
  "luminance": 0.03819
}

Semantic roles & 50–950 ramp

primary
#2D3C0D
secondary
#452D78
accent
#40E776
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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