#4C500F#4C500F

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

Color values

HEX#4C500F
RGBrgb(76, 80, 15)
HSLhsl(64, 68%, 19%)
HSVhsv(64, 81%, 31%)
CMYKcmyk(5%, 0%, 81.3%, 68.6%)
CIE-LABlab(32.50, -10.68, 35.15)
CIE-LCHlch(32.50, 36.73, 106.89°)
OKLaboklab(41.44% -0.033 0.0774)
OKLCHoklch(41.44% 0.084 113.1)
XYZxyz(5.9356, 7.3084, 1.5498)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C500F #130F50
analogous
#50330F #4C500F #2B500F
triadic
#4C500F #0F4C50 #500F4C
tetradic
#4C500F #0F5033 #130F50 #500F2B
square
#4C500F #0F5033 #130F50 #500F2B
split-complementary
#4C500F #0F2B50 #330F50
monochromatic
#181A05 #1B1C05 #4C500F #7D8419 #AEB722

Accessibility & contrast

On white

8.53
#4C500F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C500F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C500F#FFFFFF#000000##FFFFFF
##4C500F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C03
Deuteranopia (green-blind)
#574D14
Tritanopia (blue-blind)
#524B44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c500f;
/* rgb */ color: rgb(76, 80, 15);
/* oklch */ color: oklch(41.4% 0.084 113.1);
Tailwind
colors: {
  custom: {
    50: '#808053',
    500: '#4c500f',
    950: '#000000',
  },
}
SCSS
$custom: #4c500f;
$custom-light: #808053;
$custom-dark: #000000;
JSON
{
  "hex": "#4c500f",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 63.692,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.41443,
    "c": 0.08412,
    "h": 113.1
  },
  "luminance": 0.07308
}

Semantic roles & 50–950 ramp

primary
#4C500F
secondary
#36318A
accent
#3DEB47
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C500F

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

Preview Lab → · Contrast checker → · Palette generator →

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