#4C4F0B#4C4F0B

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

Color values

HEX#4C4F0B
RGBrgb(76, 79, 11)
HSLhsl(63, 76%, 18%)
HSVhsv(63, 86%, 31%)
CMYKcmyk(3.8%, 0%, 86.1%, 69%)
CIE-LABlab(32.15, -10.29, 36.28)
CIE-LCHlch(32.15, 37.71, 105.83°)
OKLaboklab(41.16% -0.0323 0.079)
OKLCHoklch(41.16% 0.085 112.2)
XYZxyz(5.8371, 7.1528, 1.3897)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4F0B #0E0B4F
analogous
#4F300B #4C4F0B #2A4F0B
triadic
#4C4F0B #0B4C4F #4F0B4C
tetradic
#4C4F0B #0B4F30 #0E0B4F #4F0B2A
square
#4C4F0B #0B4F30 #0E0B4F #4F0B2A
split-complementary
#4C4F0B #0B2A4F #300B4F
monochromatic
#1A1B04 #1A1B04 #4C4F0B #808512 #B3BA1A

Accessibility & contrast

On white

8.64
#4C4F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4F0B
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4F0B#FFFFFF#000000##FFFFFF
##4C4F0B1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4f0b;
/* rgb */ color: rgb(76, 79, 11);
/* oklch */ color: oklch(41.2% 0.085 112.2);
Tailwind
colors: {
  custom: {
    50: '#818051',
    500: '#4c4f0b',
    950: '#000000',
  },
}
SCSS
$custom: #4c4f0b;
$custom-light: #818051;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4f0b",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 11
  },
  "hsl": {
    "h": 62.647,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.41158,
    "c": 0.08531,
    "h": 112.2
  },
  "luminance": 0.07153
}

Semantic roles & 50–950 ramp

primary
#4C4F0B
secondary
#2F2B8B
accent
#36F23E
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4C4F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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