#2D4108#2D4108

#2D4108 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.6% C 0.083 H 127.7°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#2D4108
RGBrgb(45, 65, 8)
HSLhsl(81, 78%, 14%)
HSVhsv(81, 88%, 25%)
CMYKcmyk(30.8%, 0%, 87.7%, 74.5%)
CIE-LABlab(24.81, -17.63, 29.75)
CIE-LCHlch(24.81, 34.58, 120.65°)
OKLaboklab(34.59% -0.0507 0.0657)
OKLCHoklch(34.59% 0.083 127.7)
XYZxyz(3.0163, 4.3559, 0.9115)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4108 #1C0841
analogous
#413908 #2D4108 #114108
triadic
#2D4108 #082D41 #41082D
tetradic
#2D4108 #084139 #1C0841 #410811
square
#2D4108 #084139 #1C0841 #410811
split-complementary
#2D4108 #081141 #390841
monochromatic
#131B03 #131B03 #2D4108 #53770F #78AE15

Accessibility & contrast

On white

11.22
#2D4108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2D4108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4108
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4108#FFFFFF#000000##FFFFFF
##2D41081.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#423A0E
Tritanopia (blue-blind)
#2F3E36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d4108;
/* rgb */ color: rgb(45, 65, 8);
/* oklch */ color: oklch(34.6% 0.083 127.7);
Tailwind
colors: {
  custom: {
    50: '#68754d',
    500: '#2d4108',
    950: '#000000',
  },
}
SCSS
$custom: #2d4108;
$custom-light: #68754d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4108",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 81.053,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.3459,
    "c": 0.08299,
    "h": 127.7
  },
  "luminance": 0.04356
}

Semantic roles & 50–950 ramp

primary
#2D4108
secondary
#45257F
accent
#33F577
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D4108

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

Preview Lab → · Contrast checker → · Palette generator →

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