#4F4C15#4F4C15

#4F4C15 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.8% C 0.074 H 106.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#4F4C15
RGBrgb(79, 76, 21)
HSLhsl(57, 58%, 20%)
HSVhsv(57, 73%, 31%)
CMYKcmyk(0%, 3.8%, 73.4%, 69%)
CIE-LABlab(31.54, -6.46, 31.74)
CIE-LCHlch(31.54, 32.39, 101.51°)
OKLaboklab(40.77% -0.0207 0.0713)
OKLCHoklch(40.77% 0.074 106.2)
XYZxyz(5.9445, 6.8855, 1.7252)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4C15 #15184F
analogous
#4F2F15 #4F4C15 #354F15
triadic
#4F4C15 #154F4C #4C154F
tetradic
#4F4C15 #154F2F #15184F #4F1535
square
#4F4C15 #154F2F #15184F #4F1535
split-complementary
#4F4C15 #15354F #2F154F
monochromatic
#181706 #1F1D08 #4F4C15 #7F7B22 #B0A92F

Accessibility & contrast

On white

8.83
#4F4C15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4F4C15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4C15
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4C15#FFFFFF#000000##FFFFFF
##4F4C151.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490D
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#554741
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f4c15;
/* rgb */ color: rgb(79, 76, 21);
/* oklch */ color: oklch(40.8% 0.074 106.2);
Tailwind
colors: {
  custom: {
    50: '#827d56',
    500: '#4f4c15',
    950: '#000000',
  },
}
SCSS
$custom: #4f4c15;
$custom-light: #827d56;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4c15",
  "rgb": {
    "r": 79,
    "g": 76,
    "b": 21
  },
  "hsl": {
    "h": 56.897,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40765,
    "c": 0.07423,
    "h": 106.2
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#4F4C15
secondary
#393D87
accent
#4FE147
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4C15

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

Preview Lab → · Contrast checker → · Palette generator →

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