#4D500F#4D500F

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

Color values

HEX#4D500F
RGBrgb(77, 80, 15)
HSLhsl(63, 68%, 19%)
HSVhsv(63, 81%, 31%)
CMYKcmyk(3.7%, 0%, 81.3%, 68.6%)
CIE-LABlab(32.59, -10.18, 35.27)
CIE-LCHlch(32.59, 36.71, 106.10°)
OKLaboklab(41.54% -0.0317 0.0776)
OKLCHoklch(41.54% 0.084 112.2)
XYZxyz(6.0156, 7.3497, 1.5536)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D500F #120F50
analogous
#50320F #4D500F #2C500F
triadic
#4D500F #0F4D50 #500F4D
tetradic
#4D500F #0F5032 #120F50 #500F2C
square
#4D500F #0F5032 #120F50 #500F2C
split-complementary
#4D500F #0F2C50 #320F50
monochromatic
#191A05 #1B1C05 #4D500F #7F8419 #B0B722

Accessibility & contrast

On white

8.50
#4D500F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D500F
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D500F#FFFFFF#000000##FFFFFF
##4D500F1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d500f;
/* rgb */ color: rgb(77, 80, 15);
/* oklch */ color: oklch(41.5% 0.084 112.2);
Tailwind
colors: {
  custom: {
    50: '#818053',
    500: '#4d500f',
    950: '#000000',
  },
}
SCSS
$custom: #4d500f;
$custom-light: #818053;
$custom-dark: #000000;
JSON
{
  "hex": "#4d500f",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 62.769,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.41539,
    "c": 0.08381,
    "h": 112.2
  },
  "luminance": 0.0735
}

Semantic roles & 50–950 ramp

primary
#4D500F
secondary
#35318A
accent
#3DEB45
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D500F

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

Preview Lab → · Contrast checker → · Palette generator →

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