#4F560C#4F560C

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

Color values

HEX#4F560C
RGBrgb(79, 86, 12)
HSLhsl(66, 76%, 19%)
HSVhsv(66, 86%, 34%)
CMYKcmyk(8.1%, 0%, 86%, 66.3%)
CIE-LABlab(34.69, -12.79, 38.31)
CIE-LCHlch(34.69, 40.39, 108.45°)
OKLaboklab(43.26% -0.0393 0.0834)
OKLCHoklch(43.26% 0.092 115.2)
XYZxyz(6.6188, 8.3445, 1.6097)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F560C #130C56
analogous
#56380C #4F560C #2A560C
triadic
#4F560C #0C4F56 #560C4F
tetradic
#4F560C #0C5638 #130C56 #560C2A
square
#4F560C #0C5638 #130C56 #560C2A
split-complementary
#4F560C #0C2A56 #380C56
monochromatic
#191B04 #1E2005 #4F560C #808C13 #B2C11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F560C#FFFFFF#000000##FFFFFF
##4F560C1.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: #4f560c;
/* rgb */ color: rgb(79, 86, 12);
/* oklch */ color: oklch(43.3% 0.092 115.2);
Tailwind
colors: {
  custom: {
    50: '#838553',
    500: '#4f560c',
    950: '#000000',
  },
}
SCSS
$custom: #4f560c;
$custom-light: #838553;
$custom-dark: #000000;
JSON
{
  "hex": "#4f560c",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 12
  },
  "hsl": {
    "h": 65.676,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.43261,
    "c": 0.09217,
    "h": 115.2
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#4F560C
secondary
#362D91
accent
#36F248
background
#F8F8F4
surface
#EFEFE8
border
#CACAC4
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F560C

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

Preview Lab → · Contrast checker → · Palette generator →

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