#2D3804#2D3804

#2D3804 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.9% C 0.073 H 121.5°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#2D3804
RGBrgb(45, 56, 4)
HSLhsl(73, 87%, 12%)
HSVhsv(73, 93%, 22%)
CMYKcmyk(19.6%, 0%, 92.9%, 78%)
CIE-LABlab(21.56, -12.84, 28.06)
CIE-LCHlch(21.56, 30.86, 114.59°)
OKLaboklab(31.94% -0.0382 0.0624)
OKLCHoklch(31.94% 0.073 121.5)
XYZxyz(2.5183, 3.3950, 0.6375)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3804 #0F0438
analogous
#382904 #2D3804 #133804
triadic
#2D3804 #042D38 #38042D
tetradic
#2D3804 #043829 #0F0438 #380413
square
#2D3804 #043829 #0F0438 #380413
split-complementary
#2D3804 #041338 #290438
monochromatic
#171D02 #171D02 #2D3804 #5B7108 #89AA0C

Accessibility & contrast

On white

12.51
#2D3804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3804
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3804#FFFFFF#000000##FFFFFF
##2D38041.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#3B3408
Tritanopia (blue-blind)
#30342E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d3804;
/* rgb */ color: rgb(45, 56, 4);
/* oklch */ color: oklch(31.9% 0.073 121.5);
Tailwind
colors: {
  custom: {
    50: '#686e4a',
    500: '#2d3804',
    950: '#000000',
  },
}
SCSS
$custom: #2d3804;
$custom-light: #686e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3804",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 4
  },
  "hsl": {
    "h": 72.692,
    "s": 86.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.31944,
    "c": 0.07313,
    "h": 121.5
  },
  "luminance": 0.03395
}

Semantic roles & 50–950 ramp

primary
#2D3804
secondary
#311E7A
accent
#2BFD57
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3804

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

Preview Lab → · Contrast checker → · Palette generator →

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