#2D3805#2D3805

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

Color values

HEX#2D3805
RGBrgb(45, 56, 5)
HSLhsl(73, 84%, 12%)
HSVhsv(73, 91%, 22%)
CMYKcmyk(19.6%, 0%, 91.1%, 78%)
CIE-LABlab(21.57, -12.77, 27.66)
CIE-LCHlch(21.57, 30.46, 114.78°)
OKLaboklab(31.95% -0.0378 0.0616)
OKLCHoklch(31.95% 0.072 121.6)
XYZxyz(2.5238, 3.3972, 0.6663)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3805 #100538
analogous
#382A05 #2D3805 #143805
triadic
#2D3805 #052D38 #38052D
tetradic
#2D3805 #05382A #100538 #380514
square
#2D3805 #05382A #100538 #380514
split-complementary
#2D3805 #051438 #2A0538
monochromatic
#171C03 #171C03 #2D3805 #5A700A #87A80F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D3805#FFFFFF#000000##FFFFFF
##2D38051.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)
#3C3400
Deuteranopia (green-blind)
#3B3409
Tritanopia (blue-blind)
#30352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d3805;
/* rgb */ color: rgb(45, 56, 5);
/* oklch */ color: oklch(32.0% 0.072 121.6);
Tailwind
colors: {
  custom: {
    50: '#686e4a',
    500: '#2d3805',
    950: '#000000',
  },
}
SCSS
$custom: #2d3805;
$custom-light: #686e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3805",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 5
  },
  "hsl": {
    "h": 72.941,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31953,
    "c": 0.07228,
    "h": 121.6
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#2D3805
secondary
#332079
accent
#2EFA5A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3805

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

Preview Lab → · Contrast checker → · Palette generator →

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