#4C5014#4C5014

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

Color values

HEX#4C5014
RGBrgb(76, 80, 20)
HSLhsl(64, 60%, 20%)
HSVhsv(64, 75%, 31%)
CMYKcmyk(5%, 0%, 75%, 68.6%)
CIE-LABlab(32.53, -10.38, 33.10)
CIE-LCHlch(32.53, 34.70, 107.42°)
OKLaboklab(41.48% -0.0316 0.0741)
OKLCHoklch(41.48% 0.081 113.1)
XYZxyz(5.9756, 7.3245, 1.7607)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5014 #181450
analogous
#503614 #4C5014 #2E5014
triadic
#4C5014 #144C50 #50144C
tetradic
#4C5014 #145036 #181450 #50142E
square
#4C5014 #145036 #181450 #50142E
split-complementary
#4C5014 #142E50 #361450
monochromatic
#171806 #1D1F08 #4C5014 #7B8120 #A9B22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C5014#FFFFFF#000000##FFFFFF
##4C50141.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0B
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#524B44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c5014;
/* rgb */ color: rgb(76, 80, 20);
/* oklch */ color: oklch(41.5% 0.081 113.1);
Tailwind
colors: {
  custom: {
    50: '#808056',
    500: '#4c5014',
    950: '#000000',
  },
}
SCSS
$custom: #4c5014;
$custom-light: #808056;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5014",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 64,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41483,
    "c": 0.08055,
    "h": 113.1
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#4C5014
secondary
#3D3888
accent
#45E34F
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C5014

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

Preview Lab → · Contrast checker → · Palette generator →

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