#4C5310#4C5310

#4C5310 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.2% C 0.087 H 115.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4C5310
RGBrgb(76, 83, 16)
HSLhsl(66, 68%, 19%)
HSVhsv(66, 81%, 33%)
CMYKcmyk(8.4%, 0%, 80.7%, 67.5%)
CIE-LABlab(33.48, -12.35, 35.69)
CIE-LCHlch(33.48, 37.76, 109.09°)
OKLaboklab(42.23% -0.0375 0.0787)
OKLCHoklch(42.23% 0.087 115.5)
XYZxyz(6.1674, 7.7605, 1.6631)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5310 #171053
analogous
#533910 #4C5310 #2B5310
triadic
#4C5310 #104C53 #53104C
tetradic
#4C5310 #105339 #171053 #53102B
square
#4C5310 #105339 #171053 #53102B
split-complementary
#4C5310 #102B53 #391053
monochromatic
#171A05 #1D2006 #4C5310 #7B861A #AABA24

Accessibility & contrast

On white

8.23
#4C5310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4C5310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5310
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5310#FFFFFF#000000##FFFFFF
##4C53101.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E03
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#514E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c5310;
/* rgb */ color: rgb(76, 83, 16);
/* oklch */ color: oklch(42.2% 0.087 115.5);
Tailwind
colors: {
  custom: {
    50: '#808354',
    500: '#4c5310',
    950: '#000000',
  },
}
SCSS
$custom: #4c5310;
$custom-light: #808354;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5310",
  "rgb": {
    "r": 76,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 66.269,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42231,
    "c": 0.08722,
    "h": 115.5
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#4C5310
secondary
#3C328D
accent
#3DEB4F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C5310

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

Preview Lab → · Contrast checker → · Palette generator →

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