#2D371C#2D371C

#2D371C is a dark, muted yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.047 H 125.5°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#2D371C
RGBrgb(45, 55, 28)
HSLhsl(82, 33%, 16%)
HSVhsv(82, 49%, 22%)
CMYKcmyk(18.2%, 0%, 49.1%, 78.4%)
CIE-LABlab(21.48, -9.80, 15.54)
CIE-LCHlch(21.48, 18.37, 122.24°)
OKLaboklab(31.97% -0.027 0.0379)
OKLCHoklch(31.97% 0.047 125.5)
XYZxyz(2.6580, 3.3741, 1.6096)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D371C #261C37
analogous
#37341C #2D371C #20371C
triadic
#2D371C #1C2D37 #371C2D
tetradic
#2D371C #1C3734 #261C37 #371C20
square
#2D371C #1C3734 #261C37 #371C20
split-complementary
#2D371C #1C2037 #341C37
monochromatic
#11140A #11140A #2D371C #4E6031 #6F8845

Accessibility & contrast

On white

12.54
#2D371C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2D371C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D371C
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D371C#FFFFFF#000000##FFFFFF
##2D371C1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A341A
Deuteranopia (green-blind)
#38331D
Tritanopia (blue-blind)
#2F3530
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d371c;
/* rgb */ color: rgb(45, 55, 28);
/* oklch */ color: oklch(32.0% 0.047 125.5);
Tailwind
colors: {
  custom: {
    50: '#666d58',
    500: '#2d371c',
    950: '#000000',
  },
}
SCSS
$custom: #2d371c;
$custom-light: #666d58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d371c",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 28
  },
  "hsl": {
    "h": 82.222,
    "s": 32.53,
    "l": 16.275
  },
  "oklch": {
    "l": 0.31971,
    "c": 0.04654,
    "h": 125.5
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#2D371C
secondary
#52436B
accent
#5FC986
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060703
muted
#7A7A78

Preview Lab

Preview with #2D371C

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

Preview Lab → · Contrast checker → · Palette generator →

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