#2C2A18#2C2A18

#2C2A18 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.031 H 102.7°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#2C2A18
RGBrgb(44, 42, 24)
HSLhsl(54, 29%, 13%)
HSVhsv(54, 45%, 17%)
CMYKcmyk(0%, 4.5%, 45.5%, 82.7%)
CIE-LABlab(16.78, -2.55, 12.11)
CIE-LCHlch(16.78, 12.37, 101.89°)
OKLaboklab(28.17% -0.0067 0.0298)
OKLCHoklch(28.17% 0.031 102.7)
XYZxyz(2.0316, 2.2574, 1.1927)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A18 #181A2C
analogous
#2C2018 #2C2A18 #242C18
triadic
#2C2A18 #182C2A #2A182C
tetradic
#2C2A18 #182C20 #181A2C #2C1824
square
#2C2A18 #182C20 #181A2C #2C1824
split-complementary
#2C2A18 #18242C #20182C
monochromatic
#14130B #14130B #2C2A18 #54502E #7B7643

Accessibility & contrast

On white

14.47
#2C2A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2A18
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A18#FFFFFF#000000##FFFFFF
##2C2A181.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2917
Deuteranopia (green-blind)
#2E2A19
Tritanopia (blue-blind)
#2F2825
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2c2a18;
/* rgb */ color: rgb(44, 42, 24);
/* oklch */ color: oklch(28.2% 0.031 102.7);
Tailwind
colors: {
  custom: {
    50: '#656355',
    500: '#2c2a18',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a18;
$custom-light: #656355;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a18",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 54,
    "s": 29.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.28173,
    "c": 0.03054,
    "h": 102.7
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#2C2A18
secondary
#3F4360
accent
#6CC662
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#050503
muted
#7A7978

Preview Lab

Preview with #2C2A18

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

Preview Lab → · Contrast checker → · Palette generator →

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