#4C500C#4C500C

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

Color values

HEX#4C500C
RGBrgb(76, 80, 12)
HSLhsl(64, 74%, 18%)
HSVhsv(64, 85%, 31%)
CMYKcmyk(5%, 0%, 85%, 68.6%)
CIE-LABlab(32.48, -10.82, 36.23)
CIE-LCHlch(32.48, 37.82, 106.63°)
OKLaboklab(41.42% -0.0337 0.0791)
OKLCHoklch(41.42% 0.086 113.1)
XYZxyz(5.9157, 7.3005, 1.4453)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C500C #100C50
analogous
#50320C #4C500C #2A500C
triadic
#4C500C #0C4C50 #500C4C
tetradic
#4C500C #0C5032 #100C50 #500C2A
square
#4C500C #0C5032 #100C50 #500C2A
split-complementary
#4C500C #0C2A50 #320C50
monochromatic
#191B04 #191B04 #4C500C #7F8514 #B1BA1C

Accessibility & contrast

On white

8.54
#4C500C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C500C
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C500C#FFFFFF#000000##FFFFFF
##4C500C1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#574D12
Tritanopia (blue-blind)
#524B43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c500c;
/* rgb */ color: rgb(76, 80, 12);
/* oklch */ color: oklch(41.4% 0.086 113.1);
Tailwind
colors: {
  custom: {
    50: '#818052',
    500: '#4c500c',
    950: '#000000',
  },
}
SCSS
$custom: #4c500c;
$custom-light: #818052;
$custom-dark: #000000;
JSON
{
  "hex": "#4c500c",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 12
  },
  "hsl": {
    "h": 63.529,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.41424,
    "c": 0.08595,
    "h": 113.1
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#4C500C
secondary
#322C8B
accent
#37F142
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4C500C

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

Preview Lab → · Contrast checker → · Palette generator →

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