#2D3707#2D3707

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

Color values

HEX#2D3707
RGBrgb(45, 55, 7)
HSLhsl(73, 77%, 12%)
HSVhsv(73, 87%, 22%)
CMYKcmyk(18.2%, 0%, 87.3%, 78.4%)
CIE-LABlab(21.23, -12.03, 26.47)
CIE-LCHlch(21.23, 29.08, 114.44°)
OKLaboklab(31.68% -0.0356 0.0593)
OKLCHoklch(31.68% 0.069 120.9)
XYZxyz(2.4868, 3.3056, 0.7080)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3707 #110737
analogous
#372907 #2D3707 #153707
triadic
#2D3707 #072D37 #37072D
tetradic
#2D3707 #073729 #110737 #370715
square
#2D3707 #073729 #110737 #370715
split-complementary
#2D3707 #071537 #290737
monochromatic
#161B03 #161B03 #2D3707 #596D0E #86A415

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D3707#FFFFFF#000000##FFFFFF
##2D37071.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)
#3B3301
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#30342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d3707;
/* rgb */ color: rgb(45, 55, 7);
/* oklch */ color: oklch(31.7% 0.069 120.9);
Tailwind
colors: {
  custom: {
    50: '#686d4b',
    500: '#2d3707',
    950: '#000000',
  },
}
SCSS
$custom: #2d3707;
$custom-light: #686d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3707",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 7
  },
  "hsl": {
    "h": 72.5,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31683,
    "c": 0.06918,
    "h": 120.9
  },
  "luminance": 0.03306
}

Semantic roles & 50–950 ramp

primary
#2D3707
secondary
#352377
accent
#34F45C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3707

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

Preview Lab → · Contrast checker → · Palette generator →

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