#4C560F#4C560F

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

Color values

HEX#4C560F
RGBrgb(76, 86, 15)
HSLhsl(68, 70%, 20%)
HSVhsv(68, 83%, 34%)
CMYKcmyk(11.6%, 0%, 82.6%, 66.3%)
CIE-LABlab(34.45, -14.10, 36.97)
CIE-LCHlch(34.45, 39.57, 110.88°)
OKLaboklab(43.01% -0.0425 0.0812)
OKLCHoklch(43.01% 0.092 117.6)
XYZxyz(6.3947, 8.2266, 1.7029)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C560F #190F56
analogous
#563D0F #4C560F #28560F
triadic
#4C560F #0F4C56 #560F4C
tetradic
#4C560F #0F563D #190F56 #560F28
square
#4C560F #0F563D #190F56 #560F28
split-complementary
#4C560F #0F2856 #3D0F56
monochromatic
#171A05 #1E2206 #4C560F #7A8A18 #A8BE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C560F#FFFFFF#000000##FFFFFF
##4C560F1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5101
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#515149
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c560f;
/* rgb */ color: rgb(76, 86, 15);
/* oklch */ color: oklch(43.0% 0.092 117.6);
Tailwind
colors: {
  custom: {
    50: '#818554',
    500: '#4c560f',
    950: '#000000',
  },
}
SCSS
$custom: #4c560f;
$custom-light: #818554;
$custom-dark: #000000;
JSON
{
  "hex": "#4c560f",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 68.451,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.4301,
    "c": 0.09167,
    "h": 117.6
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#4C560F
secondary
#3E3190
accent
#3BED54
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4C560F

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

Preview Lab → · Contrast checker → · Palette generator →

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