#2D3706#2D3706

#2D3706 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.7% C 0.070 H 120.8°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#2D3706
RGBrgb(45, 55, 6)
HSLhsl(72, 80%, 12%)
HSVhsv(72, 89%, 22%)
CMYKcmyk(18.2%, 0%, 89.1%, 78.4%)
CIE-LABlab(21.22, -12.11, 26.87)
CIE-LCHlch(21.22, 29.47, 114.25°)
OKLaboklab(31.67% -0.0359 0.0601)
OKLCHoklch(31.67% 0.07 120.8)
XYZxyz(2.4813, 3.3034, 0.6792)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3706 #100637
analogous
#372906 #2D3706 #153706
triadic
#2D3706 #062D37 #37062D
tetradic
#2D3706 #063729 #100637 #370615
square
#2D3706 #063729 #100637 #370615
split-complementary
#2D3706 #061537 #290637
monochromatic
#171C03 #171C03 #2D3706 #5A6E0C #87A512

Accessibility & contrast

On white

12.65
#2D3706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2D3706 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3706
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3706#FFFFFF#000000##FFFFFF
##2D37061.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#3A330A
Tritanopia (blue-blind)
#30342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d3706;
/* rgb */ color: rgb(45, 55, 6);
/* oklch */ color: oklch(31.7% 0.070 120.8);
Tailwind
colors: {
  custom: {
    50: '#686d4a',
    500: '#2d3706',
    950: '#000000',
  },
}
SCSS
$custom: #2d3706;
$custom-light: #686d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3706",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 6
  },
  "hsl": {
    "h": 72.245,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31674,
    "c": 0.07002,
    "h": 120.8
  },
  "luminance": 0.03303
}

Semantic roles & 50–950 ramp

primary
#2D3706
secondary
#332177
accent
#31F759
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3706

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

Preview Lab → · Contrast checker → · Palette generator →

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