#4C5013#4C5013

#4C5013 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.5% C 0.081 H 113.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4C5013
RGBrgb(76, 80, 19)
HSLhsl(64, 62%, 19%)
HSVhsv(64, 76%, 31%)
CMYKcmyk(5%, 0%, 76.3%, 68.6%)
CIE-LABlab(32.53, -10.45, 33.54)
CIE-LCHlch(32.53, 35.13, 107.30°)
OKLaboklab(41.47% -0.0319 0.0748)
OKLCHoklch(41.47% 0.081 113.1)
XYZxyz(5.9669, 7.3210, 1.7147)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5013 #171350
analogous
#503613 #4C5013 #2E5013
triadic
#4C5013 #134C50 #50134C
tetradic
#4C5013 #135036 #171350 #50132E
square
#4C5013 #135036 #171350 #50132E
split-complementary
#4C5013 #132E50 #361350
monochromatic
#171906 #1D1F07 #4C5013 #7B811F #AAB32A

Accessibility & contrast

On white

8.52
#4C5013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4C5013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5013
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5013#FFFFFF#000000##FFFFFF
##4C50131.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C09
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#524B44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c5013;
/* rgb */ color: rgb(76, 80, 19);
/* oklch */ color: oklch(41.5% 0.081 113.1);
Tailwind
colors: {
  custom: {
    50: '#808055',
    500: '#4c5013',
    950: '#000000',
  },
}
SCSS
$custom: #4c5013;
$custom-light: #808055;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5013",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 63.934,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41474,
    "c": 0.08132,
    "h": 113.1
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#4C5013
secondary
#3C3689
accent
#43E54E
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C5013

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

Preview Lab → · Contrast checker → · Palette generator →

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