#4C4F0F#4C4F0F

#4C4F0F is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.2% C 0.083 H 112.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4C4F0F
RGBrgb(76, 79, 15)
HSLhsl(63, 68%, 18%)
HSVhsv(63, 81%, 31%)
CMYKcmyk(3.8%, 0%, 81%, 69%)
CIE-LABlab(32.18, -10.09, 34.85)
CIE-LCHlch(32.18, 36.28, 106.16°)
OKLaboklab(41.18% -0.0314 0.0767)
OKLCHoklch(41.18% 0.083 112.2)
XYZxyz(5.8629, 7.1631, 1.5256)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4F0F #120F4F
analogous
#4F320F #4C4F0F #2C4F0F
triadic
#4C4F0F #0F4C4F #4F0F4C
tetradic
#4C4F0F #0F4F32 #120F4F #4F0F2C
square
#4C4F0F #0F4F32 #120F4F #4F0F2C
split-complementary
#4C4F0F #0F2C4F #320F4F
monochromatic
#191A05 #1B1C05 #4C4F0F #7D8219 #AFB623

Accessibility & contrast

On white

8.63
#4C4F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4C4F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4F0F
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4F0F#FFFFFF#000000##FFFFFF
##4C4F0F1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B03
Deuteranopia (green-blind)
#564C14
Tritanopia (blue-blind)
#524A43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c4f0f;
/* rgb */ color: rgb(76, 79, 15);
/* oklch */ color: oklch(41.2% 0.083 112.2);
Tailwind
colors: {
  custom: {
    50: '#808053',
    500: '#4c4f0f',
    950: '#000000',
  },
}
SCSS
$custom: #4c4f0f;
$custom-light: #808053;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4f0f",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 62.813,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.41184,
    "c": 0.08291,
    "h": 112.2
  },
  "luminance": 0.07163
}

Semantic roles & 50–950 ramp

primary
#4C4F0F
secondary
#353189
accent
#3DEB45
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C4F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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