#4C5010#4C5010

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

Color values

HEX#4C5010
RGBrgb(76, 80, 16)
HSLhsl(64, 67%, 19%)
HSVhsv(64, 80%, 31%)
CMYKcmyk(5%, 0%, 80%, 68.6%)
CIE-LABlab(32.51, -10.62, 34.76)
CIE-LCHlch(32.51, 36.35, 106.99°)
OKLaboklab(41.45% -0.0327 0.0768)
OKLCHoklch(41.45% 0.083 113.1)
XYZxyz(5.9429, 7.3114, 1.5883)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5010 #141050
analogous
#503410 #4C5010 #2C5010
triadic
#4C5010 #104C50 #50104C
tetradic
#4C5010 #105034 #141050 #50102C
square
#4C5010 #105034 #141050 #50102C
split-complementary
#4C5010 #102C50 #341050
monochromatic
#181A05 #1C1D06 #4C5010 #7C831A #ADB624

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C5010#FFFFFF#000000##FFFFFF
##4C50101.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)
#574C04
Deuteranopia (green-blind)
#574D15
Tritanopia (blue-blind)
#524B44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c5010;
/* rgb */ color: rgb(76, 80, 16);
/* oklch */ color: oklch(41.5% 0.083 113.1);
Tailwind
colors: {
  custom: {
    50: '#808054',
    500: '#4c5010',
    950: '#000000',
  },
}
SCSS
$custom: #4c5010;
$custom-light: #808054;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5010",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 63.75,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41451,
    "c": 0.08346,
    "h": 113.1
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#4C5010
secondary
#38328A
accent
#3EEA49
background
#F8F7F5
surface
#EFEEE8
border
#CAC9C4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C5010

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

Preview Lab → · Contrast checker → · Palette generator →

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