#4D560F#4D560F

#4D560F is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.1% C 0.091 H 116.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#4D560F
RGBrgb(77, 86, 15)
HSLhsl(68, 70%, 20%)
HSVhsv(68, 83%, 34%)
CMYKcmyk(10.5%, 0%, 82.6%, 66.3%)
CIE-LABlab(34.53, -13.62, 37.08)
CIE-LCHlch(34.53, 39.50, 110.17°)
OKLaboklab(43.1% -0.0412 0.0814)
OKLCHoklch(43.1% 0.091 116.8)
XYZxyz(6.4747, 8.2679, 1.7066)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D560F #180F56
analogous
#563C0F #4D560F #29560F
triadic
#4D560F #0F4D56 #560F4D
tetradic
#4D560F #0F563C #180F56 #560F29
square
#4D560F #0F563C #180F56 #560F29
split-complementary
#4D560F #0F2956 #3C0F56
monochromatic
#171A05 #1E2206 #4D560F #7C8A18 #AABE21

Accessibility & contrast

On white

7.91
#4D560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4D560F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D560F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D560F#FFFFFF#000000##FFFFFF
##4D560F1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d560f;
/* rgb */ color: rgb(77, 86, 15);
/* oklch */ color: oklch(43.1% 0.091 116.8);
Tailwind
colors: {
  custom: {
    50: '#818554',
    500: '#4d560f',
    950: '#000000',
  },
}
SCSS
$custom: #4d560f;
$custom-light: #818554;
$custom-dark: #000000;
JSON
{
  "hex": "#4d560f",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 67.606,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.43099,
    "c": 0.09126,
    "h": 116.8
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#4D560F
secondary
#3D3190
accent
#3BED51
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D560F

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

Preview Lab → · Contrast checker → · Palette generator →

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