#4F4812#4F4812

#4F4812 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.7% C 0.072 H 101.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4F4812
RGBrgb(79, 72, 18)
HSLhsl(53, 63%, 19%)
HSVhsv(53, 77%, 31%)
CMYKcmyk(0%, 8.9%, 77.2%, 69%)
CIE-LABlab(30.26, -4.23, 31.83)
CIE-LCHlch(30.26, 32.11, 97.57°)
OKLaboklab(39.73% -0.0148 0.0709)
OKLCHoklch(39.73% 0.072 101.8)
XYZxyz(5.6512, 6.3409, 1.4984)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4812 #12194F
analogous
#4F2A12 #4F4812 #384F12
triadic
#4F4812 #124F48 #48124F
tetradic
#4F4812 #124F2A #12194F #4F1238
square
#4F4812 #124F2A #12194F #4F1238
split-complementary
#4F4812 #12384F #2A124F
monochromatic
#191706 #1D1B07 #4F4812 #81751D #B3A329

Accessibility & contrast

On white

9.26
#4F4812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4F4812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4812
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4812#FFFFFF#000000##FFFFFF
##4F48121.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F460A
Deuteranopia (green-blind)
#514915
Tritanopia (blue-blind)
#56423D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f4812;
/* rgb */ color: rgb(79, 72, 18);
/* oklch */ color: oklch(39.7% 0.072 101.8);
Tailwind
colors: {
  custom: {
    50: '#837a54',
    500: '#4f4812',
    950: '#000000',
  },
}
SCSS
$custom: #4f4812;
$custom-light: #837a54;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4812",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 53.115,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39732,
    "c": 0.07238,
    "h": 101.8
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#4F4812
secondary
#353E88
accent
#55E642
background
#F8F7F4
surface
#EFEDE8
border
#CAC8C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4812

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

Preview Lab → · Contrast checker → · Palette generator →

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