#4F4912#4F4912

#4F4912 is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 40.0% C 0.073 H 103.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#4F4912
RGBrgb(79, 73, 18)
HSLhsl(54, 63%, 19%)
HSVhsv(54, 77%, 31%)
CMYKcmyk(0%, 7.6%, 77.2%, 69%)
CIE-LABlab(30.57, -4.84, 32.14)
CIE-LCHlch(30.57, 32.50, 98.57°)
OKLaboklab(39.98% -0.0165 0.0715)
OKLCHoklch(39.98% 0.073 103)
XYZxyz(5.7164, 6.4713, 1.5201)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4912 #12184F
analogous
#4F2B12 #4F4912 #374F12
triadic
#4F4912 #124F49 #49124F
tetradic
#4F4912 #124F2B #12184F #4F1237
square
#4F4912 #124F2B #12184F #4F1237
split-complementary
#4F4912 #12374F #2B124F
monochromatic
#191706 #1D1B07 #4F4912 #81771D #B3A529

Accessibility & contrast

On white

9.15
#4F4912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4F4912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4912
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4912#FFFFFF#000000##FFFFFF
##4F49121.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#56433E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f4912;
/* rgb */ color: rgb(79, 73, 18);
/* oklch */ color: oklch(40.0% 0.073 103.0);
Tailwind
colors: {
  custom: {
    50: '#837b54',
    500: '#4f4912',
    950: '#000000',
  },
}
SCSS
$custom: #4f4912;
$custom-light: #837b54;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4912",
  "rgb": {
    "r": 79,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 54.098,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39982,
    "c": 0.0734,
    "h": 103
  },
  "luminance": 0.06471
}

Semantic roles & 50–950 ramp

primary
#4F4912
secondary
#353D88
accent
#52E642
background
#F8F7F4
surface
#EFEDE8
border
#CAC8C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4912

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

Preview Lab → · Contrast checker → · Palette generator →

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