#4D5019#4D5019

#4D5019 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.6% C 0.076 H 112.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4D5019
RGBrgb(77, 80, 25)
HSLhsl(63, 52%, 21%)
HSVhsv(63, 69%, 31%)
CMYKcmyk(3.7%, 0%, 68.8%, 68.6%)
CIE-LABlab(32.67, -9.54, 30.94)
CIE-LCHlch(32.67, 32.37, 107.14°)
OKLaboklab(41.63% -0.0288 0.0704)
OKLCHoklch(41.63% 0.076 112.2)
XYZxyz(6.1049, 7.3854, 2.0235)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5019 #1C1950
analogous
#503719 #4D5019 #315019
triadic
#4D5019 #194D50 #50194D
tetradic
#4D5019 #195037 #1C1950 #501931
square
#4D5019 #195037 #1C1950 #501931
split-complementary
#4D5019 #193150 #371950
monochromatic
#161707 #20210A #4D5019 #7A7F28 #A7AD36

Accessibility & contrast

On white

8.48
#4D5019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4D5019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5019
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5019#FFFFFF#000000##FFFFFF
##4D50191.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C12
Deuteranopia (green-blind)
#564D1D
Tritanopia (blue-blind)
#524B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d5019;
/* rgb */ color: rgb(77, 80, 25);
/* oklch */ color: oklch(41.6% 0.076 112.2);
Tailwind
colors: {
  custom: {
    50: '#818059',
    500: '#4d5019',
    950: '#000000',
  },
}
SCSS
$custom: #4d5019;
$custom-light: #818059;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5019",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 63.273,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41627,
    "c": 0.07601,
    "h": 112.2
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

primary
#4D5019
secondary
#423E86
accent
#4CDC54
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4D5019

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

Preview Lab → · Contrast checker → · Palette generator →

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