#4F560B#4F560B

#4F560B is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.3% C 0.093 H 115.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4F560B
RGBrgb(79, 86, 11)
HSLhsl(66, 77%, 19%)
HSVhsv(66, 87%, 34%)
CMYKcmyk(8.1%, 0%, 87.2%, 66.3%)
CIE-LABlab(34.69, -12.83, 38.62)
CIE-LCHlch(34.69, 40.70, 108.37°)
OKLaboklab(43.26% -0.0395 0.0838)
OKLCHoklch(43.26% 0.093 115.2)
XYZxyz(6.6128, 8.3421, 1.5784)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F560B #120B56
analogous
#56380B #4F560B #2A560B
triadic
#4F560B #0B4F56 #560B4F
tetradic
#4F560B #0B5638 #120B56 #560B2A
square
#4F560B #0B5638 #120B56 #560B2A
split-complementary
#4F560B #0B2A56 #380B56
monochromatic
#191B03 #1D2004 #4F560B #818C12 #B3C319

Accessibility & contrast

On white

7.87
#4F560B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4F560B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F560B
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F560B#FFFFFF#000000##FFFFFF
##4F560B1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#5C5213
Tritanopia (blue-blind)
#555049
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f560b;
/* rgb */ color: rgb(79, 86, 11);
/* oklch */ color: oklch(43.3% 0.093 115.2);
Tailwind
colors: {
  custom: {
    50: '#838552',
    500: '#4f560b',
    950: '#000000',
  },
}
SCSS
$custom: #4f560b;
$custom-light: #838552;
$custom-dark: #000000;
JSON
{
  "hex": "#4f560b",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 65.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.43256,
    "c": 0.09267,
    "h": 115.2
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#4F560B
secondary
#352B91
accent
#34F446
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F560B

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

Preview Lab → · Contrast checker → · Palette generator →

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