#2C2504#2C2504

#2C2504 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.5% C 0.050 H 97.1°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#2C2504
RGBrgb(44, 37, 4)
HSLhsl(50, 83%, 9%)
HSVhsv(50, 91%, 17%)
CMYKcmyk(0%, 15.9%, 90.9%, 82.7%)
CIE-LABlab(14.78, -1.33, 19.97)
CIE-LCHlch(14.78, 20.02, 93.80°)
OKLaboklab(26.49% -0.0061 0.0494)
OKLCHoklch(26.49% 0.05 97.1)
XYZxyz(1.7223, 1.8675, 0.3846)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2504 #040B2C
analogous
#2C1104 #2C2504 #1F2C04
triadic
#2C2504 #042C25 #25042C
tetradic
#2C2504 #042C11 #040B2C #2C041F
square
#2C2504 #042C11 #040B2C #2C041F
split-complementary
#2C2504 #041F2C #11042C
monochromatic
#1C1803 #1C1803 #2C2504 #645409 #9C830E

Accessibility & contrast

On white

15.29
#2C2504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2C2504 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2504
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2504#FFFFFF#000000##FFFFFF
##2C25041.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2401
Deuteranopia (green-blind)
#2C2606
Tritanopia (blue-blind)
#30211E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2c2504;
/* rgb */ color: rgb(44, 37, 4);
/* oklch */ color: oklch(26.5% 0.050 97.1);
Tailwind
colors: {
  custom: {
    50: '#665f48',
    500: '#2c2504',
    950: '#000000',
  },
}
SCSS
$custom: #2c2504;
$custom-light: #665f48;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2504",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 4
  },
  "hsl": {
    "h": 49.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26487,
    "c": 0.04975,
    "h": 97.1
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#2C2504
secondary
#1D2B6F
accent
#52FA2E
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2C2504

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

Preview Lab → · Contrast checker → · Palette generator →

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