#2D3806#2D3806

#2D3806 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.071 H 121.7°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#2D3806
RGBrgb(45, 56, 6)
HSLhsl(73, 81%, 12%)
HSVhsv(73, 89%, 22%)
CMYKcmyk(19.6%, 0%, 89.3%, 78%)
CIE-LABlab(21.58, -12.69, 27.26)
CIE-LCHlch(21.58, 30.07, 114.97°)
OKLaboklab(31.96% -0.0375 0.0608)
OKLCHoklch(31.96% 0.071 121.7)
XYZxyz(2.5293, 3.3994, 0.6952)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3806 #110638
analogous
#382A06 #2D3806 #143806
triadic
#2D3806 #062D38 #38062D
tetradic
#2D3806 #06382A #110638 #380614
square
#2D3806 #06382A #110638 #380614
split-complementary
#2D3806 #061438 #2A0638
monochromatic
#161C03 #161C03 #2D3806 #596F0C #86A712

Accessibility & contrast

On white

12.50
#2D3806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2D3806 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3806
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3806#FFFFFF#000000##FFFFFF
##2D38061.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#3B340A
Tritanopia (blue-blind)
#30352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d3806;
/* rgb */ color: rgb(45, 56, 6);
/* oklch */ color: oklch(32.0% 0.071 121.7);
Tailwind
colors: {
  custom: {
    50: '#686e4b',
    500: '#2d3806',
    950: '#000000',
  },
}
SCSS
$custom: #2d3806;
$custom-light: #686e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3806",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 6
  },
  "hsl": {
    "h": 73.2,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31962,
    "c": 0.07145,
    "h": 121.7
  },
  "luminance": 0.03399
}

Semantic roles & 50–950 ramp

primary
#2D3806
secondary
#352178
accent
#31F75C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3806

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

Preview Lab → · Contrast checker → · Palette generator →

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