#2D3913#2D3913

#2D3913 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.4% C 0.061 H 124.4°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#2D3913
RGBrgb(45, 57, 19)
HSLhsl(79, 50%, 15%)
HSVhsv(79, 67%, 22%)
CMYKcmyk(21.1%, 0%, 66.7%, 77.6%)
CIE-LABlab(22.06, -12.18, 21.64)
CIE-LCHlch(22.06, 24.83, 119.37°)
OKLaboklab(32.39% -0.0346 0.0505)
OKLCHoklch(32.39% 0.061 124.4)
XYZxyz(2.6629, 3.5311, 1.1573)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3913 #1F1339
analogous
#393213 #2D3913 #1A3913
triadic
#2D3913 #132D39 #39132D
tetradic
#2D3913 #133932 #1F1339 #39131A
square
#2D3913 #133932 #1F1339 #39131A
split-complementary
#2D3913 #131A39 #321339
monochromatic
#121708 #121708 #2D3913 #516722 #759532

Accessibility & contrast

On white

12.31
#2D3913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2D3913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3913
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3913#FFFFFF#000000##FFFFFF
##2D39131.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350F
Deuteranopia (green-blind)
#3B3515
Tritanopia (blue-blind)
#2F3631
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3913;
/* rgb */ color: rgb(45, 57, 19);
/* oklch */ color: oklch(32.4% 0.061 124.4);
Tailwind
colors: {
  custom: {
    50: '#676f52',
    500: '#2d3913',
    950: '#000000',
  },
}
SCSS
$custom: #2d3913;
$custom-light: #676f52;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3913",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 19
  },
  "hsl": {
    "h": 78.947,
    "s": 50,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32388,
    "c": 0.06118,
    "h": 124.4
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#2D3913
secondary
#493771
accent
#4EDA7A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3913

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

Preview Lab → · Contrast checker → · Palette generator →

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