#4C4912#4C4912

#4C4912 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.7% C 0.074 H 106.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4C4912
RGBrgb(76, 73, 18)
HSLhsl(57, 62%, 18%)
HSVhsv(57, 76%, 30%)
CMYKcmyk(0%, 3.9%, 76.3%, 70.2%)
CIE-LABlab(30.27, -6.36, 31.74)
CIE-LCHlch(30.27, 32.37, 101.33°)
OKLaboklab(39.67% -0.0206 0.0708)
OKLCHoklch(39.67% 0.074 106.2)
XYZxyz(5.4724, 6.3455, 1.5087)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4912 #12154C
analogous
#4C2C12 #4C4912 #324C12
triadic
#4C4912 #124C49 #49124C
tetradic
#4C4912 #124C2C #12154C #4C1232
square
#4C4912 #124C2C #12154C #4C1232
split-complementary
#4C4912 #12324C #2C124C
monochromatic
#191806 #1B1906 #4C4912 #7D791E #AFA829

Accessibility & contrast

On white

9.26
#4C4912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4C4912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4912
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4912#FFFFFF#000000##FFFFFF
##4C49121.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#52443E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c4912;
/* rgb */ color: rgb(76, 73, 18);
/* oklch */ color: oklch(39.7% 0.074 106.2);
Tailwind
colors: {
  custom: {
    50: '#807b54',
    500: '#4c4912',
    950: '#000000',
  },
}
SCSS
$custom: #4c4912;
$custom-light: #807b54;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4912",
  "rgb": {
    "r": 76,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 56.897,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.07372,
    "h": 106.2
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#4C4912
secondary
#353985
accent
#4BE543
background
#F8F7F4
surface
#EFEDE8
border
#CAC8C4
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4C4912

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

Preview Lab → · Contrast checker → · Palette generator →

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