#4F4B0C#4F4B0C

#4F4B0C is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.4% C 0.080 H 105.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#4F4B0C
RGBrgb(79, 75, 12)
HSLhsl(56, 74%, 18%)
HSVhsv(56, 85%, 31%)
CMYKcmyk(0%, 5.1%, 84.8%, 69%)
CIE-LABlab(31.16, -6.36, 35.15)
CIE-LCHlch(31.16, 35.72, 100.26°)
OKLaboklab(40.44% -0.0215 0.0766)
OKLCHoklch(40.44% 0.08 105.6)
XYZxyz(5.8071, 6.7212, 1.3392)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4B0C #0C104F
analogous
#4F290C #4F4B0C #314F0C
triadic
#4F4B0C #0C4F4B #4B0C4F
tetradic
#4F4B0C #0C4F29 #0C104F #4F0C31
square
#4F4B0C #0C4F29 #0C104F #4F0C31
split-complementary
#4F4B0C #0C314F #290C4F
monochromatic
#1B1904 #1B1904 #4F4B0C #847D14 #B9B01C

Accessibility & contrast

On white

8.96
#4F4B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4F4B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4B0C
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4B0C#FFFFFF#000000##FFFFFF
##4F4B0C1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524801
Deuteranopia (green-blind)
#544A11
Tritanopia (blue-blind)
#56453F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f4b0c;
/* rgb */ color: rgb(79, 75, 12);
/* oklch */ color: oklch(40.4% 0.080 105.6);
Tailwind
colors: {
  custom: {
    50: '#837d51',
    500: '#4f4b0c',
    950: '#000000',
  },
}
SCSS
$custom: #4f4b0c;
$custom-light: #837d51;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4b0c",
  "rgb": {
    "r": 79,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 56.418,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.4044,
    "c": 0.07956,
    "h": 105.6
  },
  "luminance": 0.06721
}

Semantic roles & 50–950 ramp

primary
#4F4B0C
secondary
#2C328B
accent
#43F038
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F4B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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