#2D3708#2D3708

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

Color values

HEX#2D3708
RGBrgb(45, 55, 8)
HSLhsl(73, 75%, 12%)
HSVhsv(73, 85%, 22%)
CMYKcmyk(18.2%, 0%, 85.5%, 78.4%)
CIE-LABlab(21.24, -11.96, 26.07)
CIE-LCHlch(21.24, 28.69, 114.64°)
OKLaboklab(31.69% -0.0352 0.0586)
OKLCHoklch(31.69% 0.068 121)
XYZxyz(2.4922, 3.3078, 0.7369)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3708 #120837
analogous
#372A08 #2D3708 #163708
triadic
#2D3708 #082D37 #37082D
tetradic
#2D3708 #08372A #120837 #370816
square
#2D3708 #08372A #120837 #370816
split-complementary
#2D3708 #081637 #2A0837
monochromatic
#161B04 #161B04 #2D3708 #596C10 #84A218

Accessibility & contrast

On white

12.64
#2D3708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3708
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3708#FFFFFF#000000##FFFFFF
##2D37081.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3708;
/* rgb */ color: rgb(45, 55, 8);
/* oklch */ color: oklch(31.7% 0.068 121.0);
Tailwind
colors: {
  custom: {
    50: '#686d4b',
    500: '#2d3708',
    950: '#000000',
  },
}
SCSS
$custom: #2d3708;
$custom-light: #686d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3708",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 8
  },
  "hsl": {
    "h": 72.766,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31693,
    "c": 0.06834,
    "h": 121
  },
  "luminance": 0.03308
}

Semantic roles & 50–950 ramp

primary
#2D3708
secondary
#362576
accent
#37F15E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3708

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

Preview Lab → · Contrast checker → · Palette generator →

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