#4D560C#4D560C

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

Color values

HEX#4D560C
RGBrgb(77, 86, 12)
HSLhsl(67, 76%, 19%)
HSVhsv(67, 86%, 34%)
CMYKcmyk(10.5%, 0%, 86%, 66.3%)
CIE-LABlab(34.52, -13.76, 38.09)
CIE-LCHlch(34.52, 40.50, 109.86°)
OKLaboklab(43.08% -0.0419 0.083)
OKLCHoklch(43.08% 0.093 116.8)
XYZxyz(6.4549, 8.2600, 1.6021)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D560C #150C56
analogous
#563A0C #4D560C #28560C
triadic
#4D560C #0C4D56 #560C4D
tetradic
#4D560C #0C563A #150C56 #560C28
square
#4D560C #0C563A #150C56 #560C28
split-complementary
#4D560C #0C2856 #3A0C56
monochromatic
#181B04 #1D2005 #4D560C #7D8C13 #ADC11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D560C#FFFFFF#000000##FFFFFF
##4D560C1.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)
#525149
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d560c;
/* rgb */ color: rgb(77, 86, 12);
/* oklch */ color: oklch(43.1% 0.093 116.8);
Tailwind
colors: {
  custom: {
    50: '#828553',
    500: '#4d560c',
    950: '#000000',
  },
}
SCSS
$custom: #4d560c;
$custom-light: #828553;
$custom-dark: #000000;
JSON
{
  "hex": "#4d560c",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 12
  },
  "hsl": {
    "h": 67.297,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.43081,
    "c": 0.09295,
    "h": 116.8
  },
  "luminance": 0.0826
}

Semantic roles & 50–950 ramp

primary
#4D560C
secondary
#392D91
accent
#36F24D
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D560C

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

Preview Lab → · Contrast checker → · Palette generator →

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