#2D3906#2D3906

#2D3906 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.073 H 122.4°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#2D3906
RGBrgb(45, 57, 6)
HSLhsl(74, 81%, 12%)
HSVhsv(74, 89%, 22%)
CMYKcmyk(21.1%, 0%, 89.5%, 77.6%)
CIE-LABlab(21.93, -13.28, 27.64)
CIE-LCHlch(21.93, 30.67, 115.66°)
OKLaboklab(32.25% -0.0391 0.0615)
OKLCHoklch(32.25% 0.073 122.4)
XYZxyz(2.5782, 3.4973, 0.7115)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3906 #120639
analogous
#392C06 #2D3906 #133906
triadic
#2D3906 #062D39 #39062D
tetradic
#2D3906 #06392C #120639 #390613
square
#2D3906 #06392C #120639 #390613
split-complementary
#2D3906 #061339 #2C0639
monochromatic
#161C03 #161C03 #2D3906 #59700C #84A812

Accessibility & contrast

On white

12.36
#2D3906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2D3906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3906
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3906#FFFFFF#000000##FFFFFF
##2D39061.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3B340B
Tritanopia (blue-blind)
#30362F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3906;
/* rgb */ color: rgb(45, 57, 6);
/* oklch */ color: oklch(32.3% 0.073 122.4);
Tailwind
colors: {
  custom: {
    50: '#686f4b',
    500: '#2d3906',
    950: '#000000',
  },
}
SCSS
$custom: #2d3906;
$custom-light: #686f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3906",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 6
  },
  "hsl": {
    "h": 74.118,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32251,
    "c": 0.07289,
    "h": 122.4
  },
  "luminance": 0.03497
}

Semantic roles & 50–950 ramp

primary
#2D3906
secondary
#362279
accent
#30F75F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3906

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

Preview Lab → · Contrast checker → · Palette generator →

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