#4C4612#4C4612

#4C4612 is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 38.9% C 0.070 H 102.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#4C4612
RGBrgb(76, 70, 18)
HSLhsl(54, 62%, 18%)
HSVhsv(54, 76%, 30%)
CMYKcmyk(0%, 7.9%, 76.3%, 70.2%)
CIE-LABlab(29.31, -4.53, 30.78)
CIE-LCHlch(29.31, 31.11, 98.38°)
OKLaboklab(38.91% -0.0154 0.0688)
OKLCHoklch(38.91% 0.07 102.6)
XYZxyz(5.2801, 5.9607, 1.4446)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4612 #12184C
analogous
#4C2912 #4C4612 #354C12
triadic
#4C4612 #124C46 #46124C
tetradic
#4C4612 #124C29 #12184C #4C1235
square
#4C4612 #124C29 #12184C #4C1235
split-complementary
#4C4612 #12354C #29124C
monochromatic
#191706 #1B1806 #4C4612 #7D741E #AFA129

Accessibility & contrast

On white

9.58
#4C4612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4C4612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4612
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4612#FFFFFF#000000##FFFFFF
##4C46121.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440A
Deuteranopia (green-blind)
#4F4615
Tritanopia (blue-blind)
#52413C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c4612;
/* rgb */ color: rgb(76, 70, 18);
/* oklch */ color: oklch(38.9% 0.070 102.6);
Tailwind
colors: {
  custom: {
    50: '#807953',
    500: '#4c4612',
    950: '#000000',
  },
}
SCSS
$custom: #4c4612;
$custom-light: #807953;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4612",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 18
  },
  "hsl": {
    "h": 53.793,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38908,
    "c": 0.07048,
    "h": 102.6
  },
  "luminance": 0.0596
}

Semantic roles & 50–950 ramp

primary
#4C4612
secondary
#353D85
accent
#54E543
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4C4612

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

Preview Lab → · Contrast checker → · Palette generator →

#4C4612 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva