#4D4F0C#4D4F0C

#4D4F0C 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#4D4F0C
RGBrgb(77, 79, 12)
HSLhsl(62, 74%, 18%)
HSVhsv(62, 85%, 31%)
CMYKcmyk(2.5%, 0%, 84.8%, 69%)
CIE-LABlab(32.25, -9.74, 36.06)
CIE-LCHlch(32.25, 37.35, 105.12°)
OKLaboklab(41.26% -0.0308 0.0787)
OKLCHoklch(41.26% 0.084 111.4)
XYZxyz(5.9231, 7.1964, 1.4248)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4F0C #0E0C4F
analogous
#4F2F0C #4D4F0C #2B4F0C
triadic
#4D4F0C #0C4D4F #4F0C4D
tetradic
#4D4F0C #0C4F2F #0E0C4F #4F0C2B
square
#4D4F0C #0C4F2F #0E0C4F #4F0C2B
split-complementary
#4D4F0C #0C2B4F #2F0C4F
monochromatic
#1A1B04 #1A1B04 #4D4F0C #818414 #B5B91C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D4F0C#FFFFFF#000000##FFFFFF
##4D4F0C1.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)
#564B00
Deuteranopia (green-blind)
#564D12
Tritanopia (blue-blind)
#534943
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d4f0c;
/* rgb */ color: rgb(77, 79, 12);
/* oklch */ color: oklch(41.3% 0.084 111.4);
Tailwind
colors: {
  custom: {
    50: '#818052',
    500: '#4d4f0c',
    950: '#000000',
  },
}
SCSS
$custom: #4d4f0c;
$custom-light: #818052;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4f0c",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 12
  },
  "hsl": {
    "h": 61.791,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.41261,
    "c": 0.08445,
    "h": 111.4
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#4D4F0C
secondary
#2F2C8B
accent
#38F03D
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4D4F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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