#4C560C#4C560C

#4C560C 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#4C560C
RGBrgb(76, 86, 12)
HSLhsl(68, 76%, 19%)
HSVhsv(68, 86%, 34%)
CMYKcmyk(11.6%, 0%, 86%, 66.3%)
CIE-LABlab(34.43, -14.24, 37.99)
CIE-LCHlch(34.43, 40.57, 110.55°)
OKLaboklab(42.99% -0.0431 0.0828)
OKLCHoklch(42.99% 0.093 117.5)
XYZxyz(6.3748, 8.2187, 1.5983)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C560C #160C56
analogous
#563B0C #4C560C #27560C
triadic
#4C560C #0C4C56 #560C4C
tetradic
#4C560C #0C563B #160C56 #560C27
square
#4C560C #0C563B #160C56 #560C27
split-complementary
#4C560C #0C2756 #3B0C56
monochromatic
#181B04 #1D2005 #4C560C #7B8C13 #ABC11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C560C#FFFFFF#000000##FFFFFF
##4C560C1.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)
#5B5113
Tritanopia (blue-blind)
#515149
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c560c;
/* rgb */ color: rgb(76, 86, 12);
/* oklch */ color: oklch(43.0% 0.093 117.5);
Tailwind
colors: {
  custom: {
    50: '#818553',
    500: '#4c560c',
    950: '#000000',
  },
}
SCSS
$custom: #4c560c;
$custom-light: #818553;
$custom-dark: #000000;
JSON
{
  "hex": "#4c560c",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 12
  },
  "hsl": {
    "h": 68.108,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.42992,
    "c": 0.09336,
    "h": 117.5
  },
  "luminance": 0.08219
}

Semantic roles & 50–950 ramp

primary
#4C560C
secondary
#3A2D91
accent
#36F24F
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4C560C

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

Preview Lab → · Contrast checker → · Palette generator →

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