#4F4A0C#4F4A0C

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

Color values

HEX#4F4A0C
RGBrgb(79, 74, 12)
HSLhsl(56, 74%, 18%)
HSVhsv(56, 85%, 31%)
CMYKcmyk(0%, 6.3%, 84.8%, 69%)
CIE-LABlab(30.85, -5.76, 34.86)
CIE-LCHlch(30.85, 35.34, 99.38°)
OKLaboklab(40.19% -0.0198 0.076)
OKLCHoklch(40.19% 0.079 104.6)
XYZxyz(5.7398, 6.5866, 1.3168)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4A0C #0C114F
analogous
#4F280C #4F4A0C #334F0C
triadic
#4F4A0C #0C4F4A #4A0C4F
tetradic
#4F4A0C #0C4F28 #0C114F #4F0C33
square
#4F4A0C #0C4F28 #0C114F #4F0C33
split-complementary
#4F4A0C #0C334F #280C4F
monochromatic
#1B1904 #1B1904 #4F4A0C #847C14 #B9AE1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F4A0C#FFFFFF#000000##FFFFFF
##4F4A0C1.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)
#514701
Deuteranopia (green-blind)
#534A11
Tritanopia (blue-blind)
#56443E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f4a0c;
/* rgb */ color: rgb(79, 74, 12);
/* oklch */ color: oklch(40.2% 0.079 104.6);
Tailwind
colors: {
  custom: {
    50: '#837c51',
    500: '#4f4a0c',
    950: '#000000',
  },
}
SCSS
$custom: #4f4a0c;
$custom-light: #837c51;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4a0c",
  "rgb": {
    "r": 79,
    "g": 74,
    "b": 12
  },
  "hsl": {
    "h": 55.522,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.40188,
    "c": 0.07853,
    "h": 104.6
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#4F4A0C
secondary
#2C338B
accent
#45F038
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F4A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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