#2D3807#2D3807

#2D3807 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.071 H 121.8°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#2D3807
RGBrgb(45, 56, 7)
HSLhsl(73, 78%, 12%)
HSVhsv(73, 88%, 22%)
CMYKcmyk(19.6%, 0%, 87.5%, 78%)
CIE-LABlab(21.59, -12.62, 26.86)
CIE-LCHlch(21.59, 29.68, 115.17°)
OKLaboklab(31.97% -0.0372 0.06)
OKLCHoklch(31.97% 0.071 121.8)
XYZxyz(2.5348, 3.4016, 0.7240)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3807 #120738
analogous
#382A07 #2D3807 #153807
triadic
#2D3807 #072D38 #38072D
tetradic
#2D3807 #07382A #120738 #380715
square
#2D3807 #07382A #120738 #380715
split-complementary
#2D3807 #071538 #2A0738
monochromatic
#161B03 #161B03 #2D3807 #596E0E #84A515

Accessibility & contrast

On white

12.50
#2D3807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2D3807 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3807
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3807#FFFFFF#000000##FFFFFF
##2D38071.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3401
Deuteranopia (green-blind)
#3B340B
Tritanopia (blue-blind)
#30352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d3807;
/* rgb */ color: rgb(45, 56, 7);
/* oklch */ color: oklch(32.0% 0.071 121.8);
Tailwind
colors: {
  custom: {
    50: '#686e4b',
    500: '#2d3807',
    950: '#000000',
  },
}
SCSS
$custom: #2d3807;
$custom-light: #686e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3807",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 7
  },
  "hsl": {
    "h": 73.469,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31971,
    "c": 0.07063,
    "h": 121.8
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#2D3807
secondary
#362378
accent
#34F45F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3807

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

Preview Lab → · Contrast checker → · Palette generator →

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