#4C560D#4C560D

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

Color values

HEX#4C560D
RGBrgb(76, 86, 13)
HSLhsl(68, 74%, 19%)
HSVhsv(68, 85%, 34%)
CMYKcmyk(11.6%, 0%, 84.9%, 66.3%)
CIE-LABlab(34.44, -14.20, 37.66)
CIE-LCHlch(34.44, 40.25, 110.65°)
OKLaboklab(43% -0.0429 0.0823)
OKLCHoklch(43% 0.093 117.5)
XYZxyz(6.3811, 8.2212, 1.6314)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C560D #170D56
analogous
#563C0D #4C560D #28560D
triadic
#4C560D #0D4C56 #560D4C
tetradic
#4C560D #0D563C #170D56 #560D28
square
#4C560D #0D563C #170D56 #560D28
split-complementary
#4C560D #0D2856 #3C0D56
monochromatic
#171B04 #1D2105 #4C560D #7B8B15 #AAC01D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C560D#FFFFFF#000000##FFFFFF
##4C560D1.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)
#5C5100
Deuteranopia (green-blind)
#5B5114
Tritanopia (blue-blind)
#515149
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c560d;
/* rgb */ color: rgb(76, 86, 13);
/* oklch */ color: oklch(43.0% 0.093 117.5);
Tailwind
colors: {
  custom: {
    50: '#818553',
    500: '#4c560d',
    950: '#000000',
  },
}
SCSS
$custom: #4c560d;
$custom-light: #818553;
$custom-dark: #000000;
JSON
{
  "hex": "#4c560d",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 13
  },
  "hsl": {
    "h": 68.219,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42998,
    "c": 0.09282,
    "h": 117.5
  },
  "luminance": 0.08221
}

Semantic roles & 50–950 ramp

primary
#4C560D
secondary
#3C2E91
accent
#37F051
background
#F8F8F4
surface
#EFEFE8
border
#CACAC4
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4C560D

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

Preview Lab → · Contrast checker → · Palette generator →

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