#2C2811#2C2811

#2C2811 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.038 H 99.6°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#2C2811
RGBrgb(44, 40, 17)
HSLhsl(51, 44%, 12%)
HSVhsv(51, 61%, 17%)
CMYKcmyk(0%, 9.1%, 61.4%, 82.7%)
CIE-LABlab(15.97, -2.14, 15.60)
CIE-LCHlch(15.97, 15.75, 97.80°)
OKLaboklab(27.49% -0.0063 0.0373)
OKLCHoklch(27.49% 0.038 99.6)
XYZxyz(1.8987, 2.0936, 0.8343)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2811 #11152C
analogous
#2C1B11 #2C2811 #232C11
triadic
#2C2811 #112C28 #28112C
tetradic
#2C2811 #112C1B #11152C #2C1123
square
#2C2811 #112C1B #11152C #2C1123
split-complementary
#2C2811 #11232C #1B112C
monochromatic
#161409 #161409 #2C2811 #585022 #847833

Accessibility & contrast

On white

14.80
#2C2811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2811
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2811#FFFFFF#000000##FFFFFF
##2C28111.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C270F
Deuteranopia (green-blind)
#2D2812
Tritanopia (blue-blind)
#302523
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2c2811;
/* rgb */ color: rgb(44, 40, 17);
/* oklch */ color: oklch(27.5% 0.038 99.6);
Tailwind
colors: {
  custom: {
    50: '#66614f',
    500: '#2c2811',
    950: '#000000',
  },
}
SCSS
$custom: #2c2811;
$custom-light: #66614f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2811",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 17
  },
  "hsl": {
    "h": 51.111,
    "s": 44.262,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27488,
    "c": 0.03786,
    "h": 99.6
  },
  "luminance": 0.02094
}

Semantic roles & 50–950 ramp

primary
#2C2811
secondary
#353C64
accent
#67D454
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #2C2811

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

Preview Lab → · Contrast checker → · Palette generator →

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