#2D3608#2D3608

#2D3608 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.4% C 0.067 H 120.2°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#2D3608
RGBrgb(45, 54, 8)
HSLhsl(72, 74%, 12%)
HSVhsv(72, 85%, 21%)
CMYKcmyk(16.7%, 0%, 85.2%, 78.8%)
CIE-LABlab(20.88, -11.36, 25.69)
CIE-LCHlch(20.88, 28.09, 113.87°)
OKLaboklab(31.41% -0.0336 0.0578)
OKLCHoklch(31.41% 0.067 120.2)
XYZxyz(2.4452, 3.2138, 0.7212)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3608 #110836
analogous
#362808 #2D3608 #163608
triadic
#2D3608 #082D36 #36082D
tetradic
#2D3608 #083628 #110836 #360816
square
#2D3608 #083628 #110836 #360816
split-complementary
#2D3608 #081636 #280836
monochromatic
#161B04 #161B04 #2D3608 #596B10 #86A118

Accessibility & contrast

On white

12.78
#2D3608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2D3608 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3608
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3608#FFFFFF#000000##FFFFFF
##2D36081.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3202
Deuteranopia (green-blind)
#39320C
Tritanopia (blue-blind)
#30332D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d3608;
/* rgb */ color: rgb(45, 54, 8);
/* oklch */ color: oklch(31.4% 0.067 120.2);
Tailwind
colors: {
  custom: {
    50: '#686d4b',
    500: '#2d3608',
    950: '#000000',
  },
}
SCSS
$custom: #2d3608;
$custom-light: #686d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3608",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 8
  },
  "hsl": {
    "h": 71.739,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31405,
    "c": 0.06688,
    "h": 120.2
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#2D3608
secondary
#352575
accent
#37F15B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3608

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

Preview Lab → · Contrast checker → · Palette generator →

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