#2D381F#2D381F

#2D381F is a dark, muted yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.044 H 128.0°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#2D381F
RGBrgb(45, 56, 31)
HSLhsl(86, 29%, 17%)
HSVhsv(86, 45%, 22%)
CMYKcmyk(19.6%, 0%, 44.6%, 78%)
CIE-LABlab(21.89, -9.94, 14.15)
CIE-LCHlch(21.89, 17.29, 125.08°)
OKLaboklab(32.32% -0.0272 0.0349)
OKLCHoklch(32.32% 0.044 128)
XYZxyz(2.7437, 3.4851, 1.8242)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D381F #2A1F38
analogous
#38371F #2D381F #21381F
triadic
#2D381F #1F2D38 #381F2D
tetradic
#2D381F #1F3837 #2A1F38 #381F21
square
#2D381F #1F3837 #2A1F38 #381F21
split-complementary
#2D381F #1F2138 #371F38
monochromatic
#10140B #10140B #2D381F #4D5F35 #6C874B

Accessibility & contrast

On white

12.37
#2D381F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2D381F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D381F
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D381F#FFFFFF#000000##FFFFFF
##2D381F1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A351D
Deuteranopia (green-blind)
#393420
Tritanopia (blue-blind)
#2E3632
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d381f;
/* rgb */ color: rgb(45, 56, 31);
/* oklch */ color: oklch(32.3% 0.044 128.0);
Tailwind
colors: {
  custom: {
    50: '#666e5b',
    500: '#2d381f',
    950: '#000000',
  },
}
SCSS
$custom: #2d381f;
$custom-light: #666e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d381f",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 31
  },
  "hsl": {
    "h": 86.4,
    "s": 28.736,
    "l": 17.059
  },
  "oklch": {
    "l": 0.32316,
    "c": 0.04423,
    "h": 128
  },
  "luminance": 0.03485
}

Semantic roles & 50–950 ramp

primary
#2D381F
secondary
#57476B
accent
#63C58E
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060704
muted
#7A7A79

Preview Lab

Preview with #2D381F

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

Preview Lab → · Contrast checker → · Palette generator →

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