#4D560B#4D560B

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

Color values

HEX#4D560B
RGBrgb(77, 86, 11)
HSLhsl(67, 77%, 19%)
HSVhsv(67, 87%, 34%)
CMYKcmyk(10.5%, 0%, 87.2%, 66.3%)
CIE-LABlab(34.51, -13.80, 38.41)
CIE-LCHlch(34.51, 40.81, 109.76°)
OKLaboklab(43.08% -0.0421 0.0835)
OKLCHoklch(43.08% 0.093 116.7)
XYZxyz(6.4489, 8.2576, 1.5707)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D560B #140B56
analogous
#563A0B #4D560B #28560B
triadic
#4D560B #0B4D56 #560B4D
tetradic
#4D560B #0B563A #140B56 #560B28
square
#4D560B #0B563A #140B56 #560B28
split-complementary
#4D560B #0B2856 #3A0B56
monochromatic
#181B03 #1C2004 #4D560B #7E8C12 #AEC319

Accessibility & contrast

On white

7.92
#4D560B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D560B
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D560B#FFFFFF#000000##FFFFFF
##4D560B1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d560b;
/* rgb */ color: rgb(77, 86, 11);
/* oklch */ color: oklch(43.1% 0.093 116.7);
Tailwind
colors: {
  custom: {
    50: '#828552',
    500: '#4d560b',
    950: '#000000',
  },
}
SCSS
$custom: #4d560b;
$custom-light: #828552;
$custom-dark: #000000;
JSON
{
  "hex": "#4d560b",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 67.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.43075,
    "c": 0.09346,
    "h": 116.7
  },
  "luminance": 0.08258
}

Semantic roles & 50–950 ramp

primary
#4D560B
secondary
#382B91
accent
#34F44B
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D560B

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

Preview Lab → · Contrast checker → · Palette generator →

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