#4C5015#4C5015

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

Color values

HEX#4C5015
RGBrgb(76, 80, 21)
HSLhsl(64, 58%, 20%)
HSVhsv(64, 74%, 31%)
CMYKcmyk(5%, 0%, 73.7%, 68.6%)
CIE-LABlab(32.54, -10.32, 32.66)
CIE-LCHlch(32.54, 34.26, 107.53°)
OKLaboklab(41.49% -0.0314 0.0733)
OKLCHoklch(41.49% 0.08 113.1)
XYZxyz(5.9847, 7.3281, 1.8085)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5015 #191550
analogous
#503715 #4C5015 #2E5015
triadic
#4C5015 #154C50 #50154C
tetradic
#4C5015 #155037 #191550 #50152E
square
#4C5015 #155037 #191550 #50152E
split-complementary
#4C5015 #152E50 #371550
monochromatic
#171806 #1E2008 #4C5015 #7A8022 #A8B12E

Accessibility & contrast

On white

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

On black

2.47
#4C5015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4C5015#FFFFFF#000000##FFFFFF
##4C50151.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0C
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#514B44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c5015;
/* rgb */ color: rgb(76, 80, 21);
/* oklch */ color: oklch(41.5% 0.080 113.1);
Tailwind
colors: {
  custom: {
    50: '#808056',
    500: '#4c5015',
    950: '#000000',
  },
}
SCSS
$custom: #4c5015;
$custom-light: #808056;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5015",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 64.068,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41492,
    "c": 0.07975,
    "h": 113.1
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#4C5015
secondary
#3E3988
accent
#46E251
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C5015

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

Preview Lab → · Contrast checker → · Palette generator →

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