#4F4612#4F4612

#4F4612 is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.2% C 0.070 H 99.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#4F4612
RGBrgb(79, 70, 18)
HSLhsl(51, 63%, 19%)
HSVhsv(51, 77%, 31%)
CMYKcmyk(0%, 11.4%, 77.2%, 69%)
CIE-LABlab(29.63, -3.00, 31.20)
CIE-LCHlch(29.63, 31.34, 95.50°)
OKLaboklab(39.24% -0.0113 0.0695)
OKLCHoklch(39.24% 0.07 99.2)
XYZxyz(5.5240, 6.0865, 1.4560)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4612 #121B4F
analogous
#4F2812 #4F4612 #3A4F12
triadic
#4F4612 #124F46 #46124F
tetradic
#4F4612 #124F28 #121B4F #4F123A
square
#4F4612 #124F28 #121B4F #4F123A
split-complementary
#4F4612 #123A4F #28124F
monochromatic
#191606 #1D1A07 #4F4612 #81721D #B39E29

Accessibility & contrast

On white

9.47
#4F4612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4F4612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4612
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4612#FFFFFF#000000##FFFFFF
##4F46121.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440A
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#56403C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f4612;
/* rgb */ color: rgb(79, 70, 18);
/* oklch */ color: oklch(39.2% 0.070 99.2);
Tailwind
colors: {
  custom: {
    50: '#837954',
    500: '#4f4612',
    950: '#000000',
  },
}
SCSS
$custom: #4f4612;
$custom-light: #837954;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4612",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 18
  },
  "hsl": {
    "h": 51.148,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39235,
    "c": 0.07045,
    "h": 99.2
  },
  "luminance": 0.06086
}

Semantic roles & 50–950 ramp

primary
#4F4612
secondary
#354188
accent
#5AE642
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4612

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

Preview Lab → · Contrast checker → · Palette generator →

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