#4F4C0E#4F4C0E

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

Color values

HEX#4F4C0E
RGBrgb(79, 76, 14)
HSLhsl(57, 70%, 18%)
HSVhsv(57, 82%, 31%)
CMYKcmyk(0%, 3.8%, 82.3%, 69%)
CIE-LABlab(31.49, -6.87, 34.70)
CIE-LCHlch(31.49, 35.37, 101.20°)
OKLaboklab(40.71% -0.0227 0.0761)
OKLCHoklch(40.71% 0.079 106.6)
XYZxyz(5.8884, 6.8631, 1.4299)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4C0E #0E114F
analogous
#4F2B0E #4F4C0E #314F0E
triadic
#4F4C0E #0E4F4C #4C0E4F
tetradic
#4F4C0E #0E4F2B #0E114F #4F0E31
square
#4F4C0E #0E4F2B #0E114F #4F0E31
split-complementary
#4F4C0E #0E314F #2B0E4F
monochromatic
#1A1905 #1B1A05 #4F4C0E #837E17 #B7B020

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F4C0E#FFFFFF#000000##FFFFFF
##4F4C0E1.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)
#534903
Deuteranopia (green-blind)
#554B13
Tritanopia (blue-blind)
#554640
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f4c0e;
/* rgb */ color: rgb(79, 76, 14);
/* oklch */ color: oklch(40.7% 0.079 106.6);
Tailwind
colors: {
  custom: {
    50: '#837d52',
    500: '#4f4c0e',
    950: '#000000',
  },
}
SCSS
$custom: #4f4c0e;
$custom-light: #837d52;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4c0e",
  "rgb": {
    "r": 79,
    "g": 76,
    "b": 14
  },
  "hsl": {
    "h": 57.231,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.40707,
    "c": 0.0794,
    "h": 106.6
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#4F4C0E
secondary
#2F338A
accent
#43ED3B
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F4C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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