#2C2816#2C2816

#2C2816 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.6% C 0.031 H 97.2°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#2C2816
RGBrgb(44, 40, 22)
HSLhsl(49, 33%, 13%)
HSVhsv(49, 50%, 17%)
CMYKcmyk(0%, 9.1%, 50%, 82.7%)
CIE-LABlab(16.06, -1.49, 12.51)
CIE-LCHlch(16.06, 12.60, 96.77°)
OKLaboklab(27.59% -0.0038 0.0306)
OKLCHoklch(27.59% 0.031 97.2)
XYZxyz(1.9424, 2.1110, 1.0641)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2816 #161A2C
analogous
#2C1D16 #2C2816 #252C16
triadic
#2C2816 #162C28 #28162C
tetradic
#2C2816 #162C1D #161A2C #2C1625
square
#2C2816 #162C1D #161A2C #2C1625
split-complementary
#2C2816 #16252C #1D162C
monochromatic
#14130A #14130A #2C2816 #554D2A #7E723F

Accessibility & contrast

On white

14.77
#2C2816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2C2816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2816
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2816#FFFFFF#000000##FFFFFF
##2C28161.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2816;
/* rgb */ color: rgb(44, 40, 22);
/* oklch */ color: oklch(27.6% 0.031 97.2);
Tailwind
colors: {
  custom: {
    50: '#656153',
    500: '#2c2816',
    950: '#000000',
  },
}
SCSS
$custom: #2c2816;
$custom-light: #656153;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2816",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 22
  },
  "hsl": {
    "h": 49.091,
    "s": 33.333,
    "l": 12.941
  },
  "oklch": {
    "l": 0.27587,
    "c": 0.03086,
    "h": 97.2
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#2C2816
secondary
#3C4361
accent
#72C95E
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #2C2816

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

Preview Lab → · Contrast checker → · Palette generator →

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