#2C281A#2C281A

#2C281A is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.7% C 0.025 H 94.0°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#2C281A
RGBrgb(44, 40, 26)
HSLhsl(47, 26%, 14%)
HSVhsv(47, 41%, 17%)
CMYKcmyk(0%, 9.1%, 40.9%, 82.7%)
CIE-LABlab(16.14, -0.88, 9.91)
CIE-LCHlch(16.14, 9.94, 95.08°)
OKLaboklab(27.68% -0.0017 0.0247)
OKLCHoklch(27.68% 0.025 94)
XYZxyz(1.9840, 2.1277, 1.2833)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C281A #1A1E2C
analogous
#2C1F1A #2C281A #272C1A
triadic
#2C281A #1A2C28 #281A2C
tetradic
#2C281A #1A2C1F #1A1E2C #2C1A27
square
#2C281A #1A2C1F #1A1E2C #2C1A27
split-complementary
#2C281A #1A272C #1F1A2C
monochromatic
#13110B #13110B #2C281A #524B31 #796E47

Accessibility & contrast

On white

14.73
#2C281A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2C281A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C281A
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C281A#FFFFFF#000000##FFFFFF
##2C281A1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2719
Deuteranopia (green-blind)
#2C291A
Tritanopia (blue-blind)
#2F2624
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2c281a;
/* rgb */ color: rgb(44, 40, 26);
/* oklch */ color: oklch(27.7% 0.025 94.0);
Tailwind
colors: {
  custom: {
    50: '#656156',
    500: '#2c281a',
    950: '#000000',
  },
}
SCSS
$custom: #2c281a;
$custom-light: #656156;
$custom-dark: #000000;
JSON
{
  "hex": "#2c281a",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 26
  },
  "hsl": {
    "h": 46.667,
    "s": 25.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.27681,
    "c": 0.02479,
    "h": 94
  },
  "luminance": 0.02128
}

Semantic roles & 50–950 ramp

primary
#2C281A
secondary
#42495F
accent
#7AC266
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#050503
muted
#7A7978

Preview Lab

Preview with #2C281A

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

Preview Lab → · Contrast checker → · Palette generator →

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