#2D3909#2D3909

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

Color values

HEX#2D3909
RGBrgb(45, 57, 9)
HSLhsl(75, 73%, 13%)
HSVhsv(75, 84%, 22%)
CMYKcmyk(21.1%, 0%, 84.2%, 77.6%)
CIE-LABlab(21.96, -13.06, 26.45)
CIE-LCHlch(21.96, 29.50, 116.29°)
OKLaboklab(32.28% -0.0382 0.0592)
OKLCHoklch(32.28% 0.07 122.8)
XYZxyz(2.5947, 3.5039, 0.7980)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3909 #150939
analogous
#392D09 #2D3909 #153909
triadic
#2D3909 #092D39 #39092D
tetradic
#2D3909 #09392D #150939 #390915
square
#2D3909 #09392D #150939 #390915
split-complementary
#2D3909 #091539 #2D0939
monochromatic
#151A04 #151A04 #2D3909 #576E11 #80A31A

Accessibility & contrast

On white

12.35
#2D3909 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3909
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3909#FFFFFF#000000##FFFFFF
##2D39091.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3503
Deuteranopia (green-blind)
#3B350D
Tritanopia (blue-blind)
#303630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3909;
/* rgb */ color: rgb(45, 57, 9);
/* oklch */ color: oklch(32.3% 0.070 122.8);
Tailwind
colors: {
  custom: {
    50: '#686f4c',
    500: '#2d3909',
    950: '#000000',
  },
}
SCSS
$custom: #2d3909;
$custom-light: #686f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3909",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 9
  },
  "hsl": {
    "h": 75,
    "s": 72.727,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32278,
    "c": 0.07047,
    "h": 122.8
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#2D3909
secondary
#3B2777
accent
#38EF66
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3909

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

Preview Lab → · Contrast checker → · Palette generator →

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