#4C560B#4C560B

#4C560B is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.0% C 0.094 H 117.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#4C560B
RGBrgb(76, 86, 11)
HSLhsl(68, 77%, 19%)
HSVhsv(68, 87%, 34%)
CMYKcmyk(11.6%, 0%, 87.2%, 66.3%)
CIE-LABlab(34.43, -14.28, 38.30)
CIE-LCHlch(34.43, 40.88, 110.45°)
OKLaboklab(42.99% -0.0433 0.0833)
OKLCHoklch(42.99% 0.094 117.5)
XYZxyz(6.3688, 8.2163, 1.5669)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C560B #150B56
analogous
#563B0B #4C560B #27560B
triadic
#4C560B #0B4C56 #560B4C
tetradic
#4C560B #0B563B #150B56 #560B27
square
#4C560B #0B563B #150B56 #560B27
split-complementary
#4C560B #0B2756 #3B0B56
monochromatic
#181B03 #1C2004 #4C560B #7C8C12 #ACC319

Accessibility & contrast

On white

7.94
#4C560B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4C560B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C560B
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C560B#FFFFFF#000000##FFFFFF
##4C560B1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c560b;
/* rgb */ color: rgb(76, 86, 11);
/* oklch */ color: oklch(43.0% 0.094 117.5);
Tailwind
colors: {
  custom: {
    50: '#818552',
    500: '#4c560b',
    950: '#000000',
  },
}
SCSS
$custom: #4c560b;
$custom-light: #818552;
$custom-dark: #000000;
JSON
{
  "hex": "#4c560b",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 68,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42986,
    "c": 0.09388,
    "h": 117.5
  },
  "luminance": 0.08216
}

Semantic roles & 50–950 ramp

primary
#4C560B
secondary
#392B91
accent
#34F44E
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4C560B

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

Preview Lab → · Contrast checker → · Palette generator →

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