#2C2A0C#2C2A0C

#2C2A0C is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.0% C 0.046 H 105.5°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#2C2A0C
RGBrgb(44, 42, 12)
HSLhsl(56, 57%, 11%)
HSVhsv(56, 73%, 17%)
CMYKcmyk(0%, 4.5%, 72.7%, 82.7%)
CIE-LABlab(16.59, -4.00, 18.97)
CIE-LCHlch(16.59, 19.38, 101.91°)
OKLaboklab(27.96% -0.0124 0.0448)
OKLCHoklch(27.96% 0.046 105.5)
XYZxyz(1.9331, 2.2180, 0.6740)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A0C #0C0E2C
analogous
#2C1A0C #2C2A0C #1E2C0C
triadic
#2C2A0C #0C2C2A #2A0C2C
tetradic
#2C2A0C #0C2C1A #0C0E2C #2C0C1E
square
#2C2A0C #0C2C1A #0C0E2C #2C0C1E
split-complementary
#2C2A0C #0C1E2C #1A0C2C
monochromatic
#181707 #181707 #2C2A0C #5C5819 #8C8626

Accessibility & contrast

On white

14.55
#2C2A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2C2A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A0C
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A0C#FFFFFF#000000##FFFFFF
##2C2A0C1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2809
Deuteranopia (green-blind)
#2F2A0E
Tritanopia (blue-blind)
#302724
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2c2a0c;
/* rgb */ color: rgb(44, 42, 12);
/* oklch */ color: oklch(28.0% 0.046 105.5);
Tailwind
colors: {
  custom: {
    50: '#66634c',
    500: '#2c2a0c',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a0c;
$custom-light: #66634c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a0c",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 12
  },
  "hsl": {
    "h": 56.25,
    "s": 57.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27959,
    "c": 0.04649,
    "h": 105.5
  },
  "luminance": 0.02218
}

Semantic roles & 50–950 ramp

primary
#2C2A0C
secondary
#2C3067
accent
#51E047
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2C2A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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