#4D500D#4D500D

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

Color values

HEX#4D500D
RGBrgb(77, 80, 13)
HSLhsl(63, 72%, 18%)
HSVhsv(63, 84%, 31%)
CMYKcmyk(3.7%, 0%, 83.7%, 68.6%)
CIE-LABlab(32.58, -10.28, 36.00)
CIE-LCHlch(32.58, 37.44, 105.94°)
OKLaboklab(41.53% -0.0322 0.0787)
OKLCHoklch(41.53% 0.085 112.2)
XYZxyz(6.0021, 7.3443, 1.4821)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D500D #100D50
analogous
#50310D #4D500D #2B500D
triadic
#4D500D #0D4D50 #500D4D
tetradic
#4D500D #0D5031 #100D50 #500D2B
square
#4D500D #0D5031 #100D50 #500D2B
split-complementary
#4D500D #0D2B50 #310D50
monochromatic
#191A04 #1A1B04 #4D500D #808516 #B2B91E

Accessibility & contrast

On white

8.51
#4D500D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D500D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D500D#FFFFFF#000000##FFFFFF
##4D500D1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d500d;
/* rgb */ color: rgb(77, 80, 13);
/* oklch */ color: oklch(41.5% 0.085 112.2);
Tailwind
colors: {
  custom: {
    50: '#818052',
    500: '#4d500d',
    950: '#000000',
  },
}
SCSS
$custom: #4d500d;
$custom-light: #818052;
$custom-dark: #000000;
JSON
{
  "hex": "#4d500d",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 13
  },
  "hsl": {
    "h": 62.687,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.41526,
    "c": 0.08505,
    "h": 112.2
  },
  "luminance": 0.07344
}

Semantic roles & 50–950 ramp

primary
#4D500D
secondary
#322E8B
accent
#39EF41
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4D500D

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

Preview Lab → · Contrast checker → · Palette generator →

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