#4F4B0F#4F4B0F

#4F4B0F is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.5% C 0.078 H 105.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#4F4B0F
RGBrgb(79, 75, 15)
HSLhsl(56, 68%, 18%)
HSVhsv(56, 81%, 31%)
CMYKcmyk(0%, 5.1%, 81%, 69%)
CIE-LABlab(31.18, -6.22, 34.01)
CIE-LCHlch(31.18, 34.57, 100.36°)
OKLaboklab(40.46% -0.0207 0.0748)
OKLCHoklch(40.46% 0.078 105.5)
XYZxyz(5.8270, 6.7291, 1.4438)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4B0F #0F134F
analogous
#4F2B0F #4F4B0F #334F0F
triadic
#4F4B0F #0F4F4B #4B0F4F
tetradic
#4F4B0F #0F4F2B #0F134F #4F0F33
square
#4F4B0F #0F4F2B #0F134F #4F0F33
split-complementary
#4F4B0F #0F334F #2B0F4F
monochromatic
#1A1805 #1C1A05 #4F4B0F #827C19 #B6AD23

Accessibility & contrast

On white

8.95
#4F4B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4F4B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4B0F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4B0F#FFFFFF#000000##FFFFFF
##4F4B0F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524804
Deuteranopia (green-blind)
#544B13
Tritanopia (blue-blind)
#55453F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f4b0f;
/* rgb */ color: rgb(79, 75, 15);
/* oklch */ color: oklch(40.5% 0.078 105.5);
Tailwind
colors: {
  custom: {
    50: '#837d53',
    500: '#4f4b0f',
    950: '#000000',
  },
}
SCSS
$custom: #4f4b0f;
$custom-light: #837d53;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4b0f",
  "rgb": {
    "r": 79,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 56.25,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.40461,
    "c": 0.07766,
    "h": 105.5
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#4F4B0F
secondary
#313689
accent
#48EB3D
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F4B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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