#2D381D#2D381D

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

Color values

HEX#2D381D
RGBrgb(45, 56, 29)
HSLhsl(84, 32%, 17%)
HSVhsv(84, 48%, 22%)
CMYKcmyk(19.6%, 0%, 48.2%, 78%)
CIE-LABlab(21.85, -10.26, 15.38)
CIE-LCHlch(21.85, 18.49, 123.71°)
OKLaboklab(32.27% -0.0282 0.0376)
OKLCHoklch(32.27% 0.047 126.9)
XYZxyz(2.7181, 3.4749, 1.6897)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D381D #281D38
analogous
#38361D #2D381D #20381D
triadic
#2D381D #1D2D38 #381D2D
tetradic
#2D381D #1D3836 #281D38 #381D20
square
#2D381D #1D3836 #281D38 #381D20
split-complementary
#2D381D #1D2038 #361D38
monochromatic
#10140A #10140A #2D381D #4D6032 #6E8947

Accessibility & contrast

On white

12.39
#2D381D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D381D
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D381D#FFFFFF#000000##FFFFFF
##2D381D1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351B
Deuteranopia (green-blind)
#39341E
Tritanopia (blue-blind)
#2E3631
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d381d;
/* rgb */ color: rgb(45, 56, 29);
/* oklch */ color: oklch(32.3% 0.047 126.9);
Tailwind
colors: {
  custom: {
    50: '#666e59',
    500: '#2d381d',
    950: '#000000',
  },
}
SCSS
$custom: #2d381d;
$custom-light: #666e59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d381d",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 29
  },
  "hsl": {
    "h": 84.444,
    "s": 31.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.32274,
    "c": 0.047,
    "h": 126.9
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#2D381D
secondary
#55456C
accent
#60C88A
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060703
muted
#7A7A78

Preview Lab

Preview with #2D381D

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

Preview Lab → · Contrast checker → · Palette generator →

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