#4D5014#4D5014

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

Color values

HEX#4D5014
RGBrgb(77, 80, 20)
HSLhsl(63, 60%, 20%)
HSVhsv(63, 75%, 31%)
CMYKcmyk(3.7%, 0%, 75%, 68.6%)
CIE-LABlab(32.63, -9.89, 33.23)
CIE-LCHlch(32.63, 34.67, 106.58°)
OKLaboklab(41.58% -0.0303 0.0743)
OKLCHoklch(41.58% 0.08 112.2)
XYZxyz(6.0557, 7.3657, 1.7644)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5014 #171450
analogous
#503514 #4D5014 #2F5014
triadic
#4D5014 #144D50 #50144D
tetradic
#4D5014 #145035 #171450 #50142F
square
#4D5014 #145035 #171450 #50142F
split-complementary
#4D5014 #142F50 #351450
monochromatic
#181806 #1E1F08 #4D5014 #7C8120 #ABB22C

Accessibility & contrast

On white

8.49
#4D5014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D5014
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5014#FFFFFF#000000##FFFFFF
##4D50141.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d5014;
/* rgb */ color: rgb(77, 80, 20);
/* oklch */ color: oklch(41.6% 0.080 112.2);
Tailwind
colors: {
  custom: {
    50: '#818056',
    500: '#4d5014',
    950: '#000000',
  },
}
SCSS
$custom: #4d5014;
$custom-light: #818056;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5014",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 63,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41578,
    "c": 0.08025,
    "h": 112.2
  },
  "luminance": 0.07366
}

Semantic roles & 50–950 ramp

primary
#4D5014
secondary
#3C3888
accent
#45E34D
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D5014

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

Preview Lab → · Contrast checker → · Palette generator →

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