#2D3905#2D3905

#2D3905 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.2% C 0.074 H 122.3°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#2D3905
RGBrgb(45, 57, 5)
HSLhsl(74, 84%, 12%)
HSVhsv(74, 91%, 22%)
CMYKcmyk(21.1%, 0%, 91.2%, 77.6%)
CIE-LABlab(21.93, -13.35, 28.04)
CIE-LCHlch(21.93, 31.06, 115.46°)
OKLaboklab(32.24% -0.0394 0.0623)
OKLCHoklch(32.24% 0.074 122.3)
XYZxyz(2.5727, 3.4951, 0.6826)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3905 #110539
analogous
#392B05 #2D3905 #133905
triadic
#2D3905 #052D39 #39052D
tetradic
#2D3905 #05392B #110539 #390513
square
#2D3905 #05392B #110539 #390513
split-complementary
#2D3905 #051339 #2B0539
monochromatic
#161C02 #161C02 #2D3905 #59710A #86AA0F

Accessibility & contrast

On white

12.36
#2D3905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3905
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3905#FFFFFF#000000##FFFFFF
##2D39051.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3C340A
Tritanopia (blue-blind)
#30362F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d3905;
/* rgb */ color: rgb(45, 57, 5);
/* oklch */ color: oklch(32.2% 0.074 122.3);
Tailwind
colors: {
  custom: {
    50: '#686f4a',
    500: '#2d3905',
    950: '#000000',
  },
}
SCSS
$custom: #2d3905;
$custom-light: #686f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3905",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 5
  },
  "hsl": {
    "h": 73.846,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.32242,
    "c": 0.07371,
    "h": 122.3
  },
  "luminance": 0.03495
}

Semantic roles & 50–950 ramp

primary
#2D3905
secondary
#35207A
accent
#2EFA5D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3905

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

Preview Lab → · Contrast checker → · Palette generator →

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