#4F4A0D#4F4A0D

#4F4A0D is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.2% C 0.078 H 104.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4F4A0D
RGBrgb(79, 74, 13)
HSLhsl(55, 72%, 18%)
HSVhsv(55, 84%, 31%)
CMYKcmyk(0%, 6.3%, 83.5%, 69%)
CIE-LABlab(30.85, -5.71, 34.49)
CIE-LCHlch(30.85, 34.96, 99.41°)
OKLaboklab(40.2% -0.0195 0.0754)
OKLCHoklch(40.2% 0.078 104.5)
XYZxyz(5.7461, 6.5891, 1.3498)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4A0D #0D124F
analogous
#4F290D #4F4A0D #334F0D
triadic
#4F4A0D #0D4F4A #4A0D4F
tetradic
#4F4A0D #0D4F29 #0D124F #4F0D33
square
#4F4A0D #0D4F29 #0D124F #4F0D33
split-complementary
#4F4A0D #0D334F #290D4F
monochromatic
#1A1904 #1A1904 #4F4A0D #847B16 #B8AC1E

Accessibility & contrast

On white

9.06
#4F4A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4F4A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4A0D
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4A0D#FFFFFF#000000##FFFFFF
##4F4A0D1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514702
Deuteranopia (green-blind)
#534A12
Tritanopia (blue-blind)
#56443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f4a0d;
/* rgb */ color: rgb(79, 74, 13);
/* oklch */ color: oklch(40.2% 0.078 104.5);
Tailwind
colors: {
  custom: {
    50: '#837c51',
    500: '#4f4a0d',
    950: '#000000',
  },
}
SCSS
$custom: #4f4a0d;
$custom-light: #837c51;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4a0d",
  "rgb": {
    "r": 79,
    "g": 74,
    "b": 13
  },
  "hsl": {
    "h": 55.455,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.40195,
    "c": 0.07792,
    "h": 104.5
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#4F4A0D
secondary
#2E358A
accent
#47EE39
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F4A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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