#4D4F0D#4D4F0D

#4D4F0D is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.3% C 0.084 H 111.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4D4F0D
RGBrgb(77, 79, 13)
HSLhsl(62, 72%, 18%)
HSVhsv(62, 84%, 31%)
CMYKcmyk(2.5%, 0%, 83.5%, 69%)
CIE-LABlab(32.26, -9.70, 35.71)
CIE-LCHlch(32.26, 37.00, 105.19°)
OKLaboklab(41.27% -0.0305 0.0781)
OKLCHoklch(41.27% 0.084 111.4)
XYZxyz(5.9294, 7.1990, 1.4579)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4F0D #0F0D4F
analogous
#4F300D #4D4F0D #2C4F0D
triadic
#4D4F0D #0D4D4F #4F0D4D
tetradic
#4D4F0D #0D4F30 #0F0D4F #4F0D2C
square
#4D4F0D #0D4F30 #0F0D4F #4F0D2C
split-complementary
#4D4F0D #0D2C4F #300D4F
monochromatic
#1A1A04 #1A1A04 #4D4F0D #808416 #B3B81E

Accessibility & contrast

On white

8.61
#4D4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4D4F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4F0D
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4F0D#FFFFFF#000000##FFFFFF
##4D4F0D1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B01
Deuteranopia (green-blind)
#564D13
Tritanopia (blue-blind)
#534A43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d4f0d;
/* rgb */ color: rgb(77, 79, 13);
/* oklch */ color: oklch(41.3% 0.084 111.4);
Tailwind
colors: {
  custom: {
    50: '#818052',
    500: '#4d4f0d',
    950: '#000000',
  },
}
SCSS
$custom: #4d4f0d;
$custom-light: #818052;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4f0d",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 61.818,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.41267,
    "c": 0.08387,
    "h": 111.4
  },
  "luminance": 0.07199
}

Semantic roles & 50–950 ramp

primary
#4D4F0D
secondary
#312E8A
accent
#39EE3F
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4D4F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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