#4F560F#4F560F

#4F560F is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.3% C 0.090 H 115.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4F560F
RGBrgb(79, 86, 15)
HSLhsl(66, 70%, 20%)
HSVhsv(66, 83%, 34%)
CMYKcmyk(8.1%, 0%, 82.6%, 66.3%)
CIE-LABlab(34.71, -12.65, 37.30)
CIE-LCHlch(34.71, 39.38, 108.73°)
OKLaboklab(43.28% -0.0387 0.0818)
OKLCHoklch(43.28% 0.09 115.3)
XYZxyz(6.6387, 8.3524, 1.7143)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F560F #160F56
analogous
#56390F #4F560F #2C560F
triadic
#4F560F #0F4F56 #560F4F
tetradic
#4F560F #0F5639 #160F56 #560F2C
square
#4F560F #0F5639 #160F56 #560F2C
split-complementary
#4F560F #0F2C56 #390F56
monochromatic
#181A05 #1F2206 #4F560F #7F8A18 #AFBE21

Accessibility & contrast

On white

7.86
#4F560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F560F
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F560F#FFFFFF#000000##FFFFFF
##4F560F1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f560f;
/* rgb */ color: rgb(79, 86, 15);
/* oklch */ color: oklch(43.3% 0.090 115.3);
Tailwind
colors: {
  custom: {
    50: '#838554',
    500: '#4f560f',
    950: '#000000',
  },
}
SCSS
$custom: #4f560f;
$custom-light: #838554;
$custom-dark: #000000;
JSON
{
  "hex": "#4f560f",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 65.915,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.43279,
    "c": 0.09049,
    "h": 115.3
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#4F560F
secondary
#3A3190
accent
#3BED4C
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F560F

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

Preview Lab → · Contrast checker → · Palette generator →

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