#4F4810#4F4810

#4F4810 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.7% C 0.074 H 102.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4F4810
RGBrgb(79, 72, 16)
HSLhsl(53, 66%, 19%)
HSVhsv(53, 80%, 31%)
CMYKcmyk(0%, 8.9%, 79.7%, 69%)
CIE-LABlab(30.24, -4.35, 32.69)
CIE-LCHlch(30.24, 32.98, 97.57°)
OKLaboklab(39.72% -0.0153 0.0723)
OKLCHoklch(39.72% 0.074 102)
XYZxyz(5.6356, 6.3347, 1.4160)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4810 #10174F
analogous
#4F2810 #4F4810 #364F10
triadic
#4F4810 #104F48 #48104F
tetradic
#4F4810 #104F28 #10174F #4F1036
square
#4F4810 #104F28 #10174F #4F1036
split-complementary
#4F4810 #10364F #28104F
monochromatic
#191705 #1C1A06 #4F4810 #82761A #B5A525

Accessibility & contrast

On white

9.26
#4F4810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4F4810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4810
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4810#FFFFFF#000000##FFFFFF
##4F48101.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4607
Deuteranopia (green-blind)
#514914
Tritanopia (blue-blind)
#56423D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f4810;
/* rgb */ color: rgb(79, 72, 16);
/* oklch */ color: oklch(39.7% 0.074 102.0);
Tailwind
colors: {
  custom: {
    50: '#837a53',
    500: '#4f4810',
    950: '#000000',
  },
}
SCSS
$custom: #4f4810;
$custom-light: #837a53;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4810",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 16
  },
  "hsl": {
    "h": 53.333,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39715,
    "c": 0.07388,
    "h": 102
  },
  "luminance": 0.06334
}

Semantic roles & 50–950 ramp

primary
#4F4810
secondary
#323C89
accent
#52E93F
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F4810

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

Preview Lab → · Contrast checker → · Palette generator →

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