#2D3418#2D3418

#2D3418 is a dark, muted yellow-green. Relative luminance 0.031; OKLCH L 31.0% C 0.047 H 120.7°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#2D3418
RGBrgb(45, 52, 24)
HSLhsl(75, 37%, 15%)
HSVhsv(75, 54%, 20%)
CMYKcmyk(13.5%, 0%, 53.8%, 79.6%)
CIE-LABlab(20.36, -8.52, 16.65)
CIE-LCHlch(20.36, 18.71, 117.11°)
OKLaboklab(31.05% -0.0238 0.0401)
OKLCHoklch(31.05% 0.047 120.7)
XYZxyz(2.4751, 3.0798, 1.3281)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3418 #1F1834
analogous
#342D18 #2D3418 #1F3418
triadic
#2D3418 #182D34 #34182D
tetradic
#2D3418 #18342D #1F1834 #34181F
square
#2D3418 #18342D #1F1834 #34181F
split-complementary
#2D3418 #181F34 #2D1834
monochromatic
#12150A #12150A #2D3418 #515E2B #75883F

Accessibility & contrast

On white

13.00
#2D3418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2D3418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3418
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3418#FFFFFF#000000##FFFFFF
##2D34181.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373116
Deuteranopia (green-blind)
#363119
Tritanopia (blue-blind)
#2F312D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d3418;
/* rgb */ color: rgb(45, 52, 24);
/* oklch */ color: oklch(31.0% 0.047 120.7);
Tailwind
colors: {
  custom: {
    50: '#666b55',
    500: '#2d3418',
    950: '#000000',
  },
}
SCSS
$custom: #2d3418;
$custom-light: #666b55;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3418",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 24
  },
  "hsl": {
    "h": 75,
    "s": 36.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31048,
    "c": 0.04662,
    "h": 120.7
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#2D3418
secondary
#493E6A
accent
#5BCD77
background
#F6F6F5
surface
#EBEBE8
border
#C6C6C4
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2D3418

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

Preview Lab → · Contrast checker → · Palette generator →

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