#4C501E#4C501E

#4C501E is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.6% C 0.071 H 113.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4C501E
RGBrgb(76, 80, 30)
HSLhsl(65, 45%, 22%)
HSVhsv(65, 63%, 31%)
CMYKcmyk(5%, 0%, 62.5%, 68.6%)
CIE-LABlab(32.63, -9.60, 28.32)
CIE-LCHlch(32.63, 29.91, 108.73°)
OKLaboklab(41.59% -0.0283 0.0656)
OKLCHoklch(41.59% 0.071 113.3)
XYZxyz(6.0836, 7.3677, 2.3297)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C501E #221E50
analogous
#503B1E #4C501E #33501E
triadic
#4C501E #1E4C50 #501E4C
tetradic
#4C501E #1E503B #221E50 #501E33
square
#4C501E #1E503B #221E50 #501E33
split-complementary
#4C501E #1E3350 #3B1E50
monochromatic
#151608 #22230D #4C501E #767D2F #A1A93F

Accessibility & contrast

On white

8.49
#4C501E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4C501E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C501E
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C501E#FFFFFF#000000##FFFFFF
##4C501E1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C19
Deuteranopia (green-blind)
#564D21
Tritanopia (blue-blind)
#514B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c501e;
/* rgb */ color: rgb(76, 80, 30);
/* oklch */ color: oklch(41.6% 0.071 113.3);
Tailwind
colors: {
  custom: {
    50: '#80815c',
    500: '#4c501e',
    950: '#000000',
  },
}
SCSS
$custom: #4c501e;
$custom-light: #80815c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c501e",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 64.8,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4159,
    "c": 0.07143,
    "h": 113.3
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#4C501E
secondary
#4A4585
accent
#53D55D
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4C501E

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

Preview Lab → · Contrast checker → · Palette generator →

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