#2C2A12#2C2A12

#2C2A12 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.1% C 0.039 H 104.4°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#2C2A12
RGBrgb(44, 42, 18)
HSLhsl(55, 42%, 12%)
HSVhsv(55, 59%, 17%)
CMYKcmyk(0%, 4.5%, 59.1%, 82.7%)
CIE-LABlab(16.68, -3.36, 15.89)
CIE-LCHlch(16.68, 16.24, 101.95°)
OKLaboklab(28.05% -0.0097 0.0379)
OKLCHoklch(28.05% 0.039 104.4)
XYZxyz(1.9759, 2.2351, 0.8995)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A12 #12142C
analogous
#2C1D12 #2C2A12 #212C12
triadic
#2C2A12 #122C2A #2A122C
tetradic
#2C2A12 #122C1D #12142C #2C1221
square
#2C2A12 #122C1D #12142C #2C1221
split-complementary
#2C2A12 #12212C #1D122C
monochromatic
#161509 #161509 #2C2A12 #575324 #837D36

Accessibility & contrast

On white

14.51
#2C2A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2C2A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A12
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A12#FFFFFF#000000##FFFFFF
##2C2A121.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2810
Deuteranopia (green-blind)
#2E2A13
Tritanopia (blue-blind)
#2F2724
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2c2a12;
/* rgb */ color: rgb(44, 42, 18);
/* oklch */ color: oklch(28.1% 0.039 104.4);
Tailwind
colors: {
  custom: {
    50: '#666350',
    500: '#2c2a12',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a12;
$custom-light: #666350;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a12",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 55.385,
    "s": 41.935,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28052,
    "c": 0.03914,
    "h": 104.4
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#2C2A12
secondary
#363A63
accent
#60D256
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #2C2A12

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

Preview Lab → · Contrast checker → · Palette generator →

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