#4C500E#4C500E

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

Color values

HEX#4C500E
RGBrgb(76, 80, 14)
HSLhsl(64, 70%, 18%)
HSVhsv(64, 83%, 31%)
CMYKcmyk(5%, 0%, 82.5%, 68.6%)
CIE-LABlab(32.49, -10.73, 35.52)
CIE-LCHlch(32.49, 37.11, 106.80°)
OKLaboklab(41.44% -0.0332 0.078)
OKLCHoklch(41.44% 0.085 113.1)
XYZxyz(5.9286, 7.3057, 1.5132)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C500E #120E50
analogous
#50330E #4C500E #2B500E
triadic
#4C500E #0E4C50 #500E4C
tetradic
#4C500E #0E5033 #120E50 #500E2B
square
#4C500E #0E5033 #120E50 #500E2B
split-complementary
#4C500E #0E2B50 #330E50
monochromatic
#191A05 #1B1C05 #4C500E #7D8417 #AFB820

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C500E#FFFFFF#000000##FFFFFF
##4C500E1.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)
#574C02
Deuteranopia (green-blind)
#574D14
Tritanopia (blue-blind)
#524B44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c500e;
/* rgb */ color: rgb(76, 80, 14);
/* oklch */ color: oklch(41.4% 0.085 113.1);
Tailwind
colors: {
  custom: {
    50: '#818053',
    500: '#4c500e',
    950: '#000000',
  },
}
SCSS
$custom: #4c500e;
$custom-light: #818053;
$custom-dark: #000000;
JSON
{
  "hex": "#4c500e",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 14
  },
  "hsl": {
    "h": 63.636,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.41437,
    "c": 0.08476,
    "h": 113.1
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#4C500E
secondary
#352F8B
accent
#3BED46
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4C500E

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

Preview Lab → · Contrast checker → · Palette generator →

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