#2C381C#2C381C

#2C381C is a dark, muted yellow-green. Relative luminance 0.034; OKLCH L 32.2% C 0.049 H 127.9°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#2C381C
RGBrgb(44, 56, 28)
HSLhsl(86, 33%, 16%)
HSVhsv(86, 50%, 22%)
CMYKcmyk(21.4%, 0%, 50%, 78%)
CIE-LABlab(21.75, -10.88, 15.87)
CIE-LCHlch(21.75, 19.24, 124.44°)
OKLaboklab(32.17% -0.03 0.0386)
OKLCHoklch(32.17% 0.049 127.9)
XYZxyz(2.6625, 3.4476, 1.6236)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C381C #281C38
analogous
#38361C #2C381C #1E381C
triadic
#2C381C #1C2C38 #381C2C
tetradic
#2C381C #1C3836 #281C38 #381C1E
square
#2C381C #1C3836 #281C38 #381C1E
split-complementary
#2C381C #1C1E38 #361C38
monochromatic
#10140A #10140A #2C381C #4C6130 #6C8A45

Accessibility & contrast

On white

12.43
#2C381C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2C381C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C381C
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C381C#FFFFFF#000000##FFFFFF
##2C381C1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c381c;
/* rgb */ color: rgb(44, 56, 28);
/* oklch */ color: oklch(32.2% 0.049 127.9);
Tailwind
colors: {
  custom: {
    50: '#666e58',
    500: '#2c381c',
    950: '#000000',
  },
}
SCSS
$custom: #2c381c;
$custom-light: #666e58;
$custom-dark: #000000;
JSON
{
  "hex": "#2c381c",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 28
  },
  "hsl": {
    "h": 85.714,
    "s": 33.333,
    "l": 16.471
  },
  "oklch": {
    "l": 0.32167,
    "c": 0.04892,
    "h": 127.9
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#2C381C
secondary
#55436C
accent
#5EC98C
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060703
muted
#7A7A78

Preview Lab

Preview with #2C381C

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

Preview Lab → · Contrast checker → · Palette generator →

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