#2D4706#2D4706

#2D4706 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.3% C 0.093 H 130.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2D4706
RGBrgb(45, 71, 6)
HSLhsl(84, 84%, 15%)
HSVhsv(84, 92%, 28%)
CMYKcmyk(36.6%, 0%, 91.5%, 72.2%)
CIE-LABlab(26.95, -20.91, 32.53)
CIE-LCHlch(26.95, 38.67, 122.74°)
OKLaboklab(36.33% -0.0598 0.0711)
OKLCHoklch(36.33% 0.093 130.1)
XYZxyz(3.3683, 5.0774, 0.9748)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4706 #200647
analogous
#474006 #2D4706 #0C4706
triadic
#2D4706 #062D47 #47062D
tetradic
#2D4706 #064740 #200647 #47060C
square
#2D4706 #064740 #200647 #47060C
split-complementary
#2D4706 #060C47 #400647
monochromatic
#121C02 #121C02 #2D4706 #517F0B #75B810

Accessibility & contrast

On white

10.42
#2D4706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2D4706 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4706
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4706#FFFFFF#000000##FFFFFF
##2D47061.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#473F0D
Tritanopia (blue-blind)
#2E433B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d4706;
/* rgb */ color: rgb(45, 71, 6);
/* oklch */ color: oklch(36.3% 0.093 130.1);
Tailwind
colors: {
  custom: {
    50: '#697a4d',
    500: '#2d4706',
    950: '#000000',
  },
}
SCSS
$custom: #2d4706;
$custom-light: #697a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4706",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 6
  },
  "hsl": {
    "h": 84,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.36328,
    "c": 0.09289,
    "h": 130.1
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#2D4706
secondary
#4A2386
accent
#2DFB7F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2D4706

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

Preview Lab → · Contrast checker → · Palette generator →

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