#4F4C0D#4F4C0D

#4F4C0D is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.7% C 0.080 H 106.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4F4C0D
RGBrgb(79, 76, 13)
HSLhsl(57, 72%, 18%)
HSVhsv(57, 84%, 31%)
CMYKcmyk(0%, 3.8%, 83.5%, 69%)
CIE-LABlab(31.49, -6.92, 35.07)
CIE-LCHlch(31.49, 35.75, 101.15°)
OKLaboklab(40.7% -0.0229 0.0767)
OKLCHoklch(40.7% 0.08 106.6)
XYZxyz(5.8818, 6.8604, 1.3951)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4C0D #0D104F
analogous
#4F2B0D #4F4C0D #314F0D
triadic
#4F4C0D #0D4F4C #4C0D4F
tetradic
#4F4C0D #0D4F2B #0D104F #4F0D31
square
#4F4C0D #0D4F2B #0D104F #4F0D31
split-complementary
#4F4C0D #0D314F #2B0D4F
monochromatic
#1A1904 #1A1904 #4F4C0D #847F16 #B8B11E

Accessibility & contrast

On white

8.85
#4F4C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4F4C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4C0D
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4C0D#FFFFFF#000000##FFFFFF
##4F4C0D1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534901
Deuteranopia (green-blind)
#554B12
Tritanopia (blue-blind)
#554640
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f4c0d;
/* rgb */ color: rgb(79, 76, 13);
/* oklch */ color: oklch(40.7% 0.080 106.6);
Tailwind
colors: {
  custom: {
    50: '#837d52',
    500: '#4f4c0d',
    950: '#000000',
  },
}
SCSS
$custom: #4f4c0d;
$custom-light: #837d52;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4c0d",
  "rgb": {
    "r": 79,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 57.273,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.407,
    "c": 0.08002,
    "h": 106.6
  },
  "luminance": 0.0686
}

Semantic roles & 50–950 ramp

primary
#4F4C0D
secondary
#2E328A
accent
#42EE39
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F4C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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