#2C281C#2C281C

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

Color values

HEX#2C281C
RGBrgb(44, 40, 28)
HSLhsl(45, 22%, 14%)
HSVhsv(45, 36%, 17%)
CMYKcmyk(0%, 9.1%, 36.4%, 82.7%)
CIE-LABlab(16.19, -0.55, 8.59)
CIE-LCHlch(16.19, 8.61, 93.65°)
OKLaboklab(27.73% -0.0007 0.0217)
OKLCHoklch(27.73% 0.022 91.8)
XYZxyz(2.0071, 2.1369, 1.4051)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C281C #1C202C
analogous
#2C201C #2C281C #282C1C
triadic
#2C281C #1C2C28 #281C2C
tetradic
#2C281C #1C2C20 #1C202C #2C1C28
square
#2C281C #1C2C20 #1C202C #2C1C28
split-complementary
#2C281C #1C282C #201C2C
monochromatic
#13110C #13110C #2C281C #514A34 #776C4C

Accessibility & contrast

On white

14.71
#2C281C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C281C
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C281C#FFFFFF#000000##FFFFFF
##2C281C1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B271B
Deuteranopia (green-blind)
#2C291C
Tritanopia (blue-blind)
#2F2625
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2c281c;
/* rgb */ color: rgb(44, 40, 28);
/* oklch */ color: oklch(27.7% 0.022 91.8);
Tailwind
colors: {
  custom: {
    50: '#656158',
    500: '#2c281c',
    950: '#000000',
  },
}
SCSS
$custom: #2c281c;
$custom-light: #656158;
$custom-dark: #000000;
JSON
{
  "hex": "#2c281c",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 28
  },
  "hsl": {
    "h": 45,
    "s": 22.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.27733,
    "c": 0.02166,
    "h": 91.8
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#2C281C
secondary
#454C5F
accent
#7EBF69
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#050503
muted
#7A7978

Preview Lab

Preview with #2C281C

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

Preview Lab → · Contrast checker → · Palette generator →

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