#2D3808#2D3808

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

Color values

HEX#2D3808
RGBrgb(45, 56, 8)
HSLhsl(74, 75%, 13%)
HSVhsv(74, 86%, 22%)
CMYKcmyk(19.6%, 0%, 85.7%, 78%)
CIE-LABlab(21.59, -12.55, 26.46)
CIE-LCHlch(21.59, 29.29, 115.37°)
OKLaboklab(31.98% -0.0369 0.0593)
OKLCHoklch(31.98% 0.07 121.9)
XYZxyz(2.5402, 3.4038, 0.7528)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3808 #130838
analogous
#382B08 #2D3808 #153808
triadic
#2D3808 #082D38 #38082D
tetradic
#2D3808 #08382B #130838 #380815
square
#2D3808 #08382B #130838 #380815
split-complementary
#2D3808 #081538 #2B0838
monochromatic
#161B04 #161B04 #2D3808 #586E10 #83A317

Accessibility & contrast

On white

12.49
#2D3808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3808
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3808#FFFFFF#000000##FFFFFF
##2D38081.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3808;
/* rgb */ color: rgb(45, 56, 8);
/* oklch */ color: oklch(32.0% 0.070 121.9);
Tailwind
colors: {
  custom: {
    50: '#686e4c',
    500: '#2d3808',
    950: '#000000',
  },
}
SCSS
$custom: #2d3808;
$custom-light: #686e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3808",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 8
  },
  "hsl": {
    "h": 73.75,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.3198,
    "c": 0.0698,
    "h": 121.9
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#2D3808
secondary
#382577
accent
#36F261
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3808

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

Preview Lab → · Contrast checker → · Palette generator →

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