#2D4308#2D4308

#2D4308 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.2% C 0.086 H 128.6°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2D4308
RGBrgb(45, 67, 8)
HSLhsl(82, 79%, 15%)
HSVhsv(82, 88%, 26%)
CMYKcmyk(32.8%, 0%, 88.1%, 73.7%)
CIE-LABlab(25.53, -18.70, 30.43)
CIE-LCHlch(25.53, 35.71, 121.57°)
OKLaboklab(35.17% -0.0536 0.0671)
OKLCHoklch(35.17% 0.086 128.6)
XYZxyz(3.1332, 4.5896, 0.9505)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4308 #1E0843
analogous
#433C08 #2D4308 #0F4308
triadic
#2D4308 #082D43 #43082D
tetradic
#2D4308 #08433C #1E0843 #43080F
square
#2D4308 #08433C #1E0843 #43080F
split-complementary
#2D4308 #080F43 #3C0843
monochromatic
#121B03 #121B03 #2D4308 #527A0F #76B015

Accessibility & contrast

On white

10.95
#2D4308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2D4308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4308
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4308#FFFFFF#000000##FFFFFF
##2D43081.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473D00
Deuteranopia (green-blind)
#443C0E
Tritanopia (blue-blind)
#2F4038
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d4308;
/* rgb */ color: rgb(45, 67, 8);
/* oklch */ color: oklch(35.2% 0.086 128.6);
Tailwind
colors: {
  custom: {
    50: '#69774d',
    500: '#2d4308',
    950: '#000000',
  },
}
SCSS
$custom: #2d4308;
$custom-light: #69774d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4308",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 8
  },
  "hsl": {
    "h": 82.373,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35173,
    "c": 0.0859,
    "h": 128.6
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#2D4308
secondary
#482581
accent
#33F57B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D4308

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

Preview Lab → · Contrast checker → · Palette generator →

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