#4C5111#4C5111

#4C5111 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.7% C 0.084 H 114.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4C5111
RGBrgb(76, 81, 17)
HSLhsl(65, 65%, 19%)
HSVhsv(65, 79%, 32%)
CMYKcmyk(6.2%, 0%, 79%, 68.2%)
CIE-LABlab(32.84, -11.15, 34.68)
CIE-LCHlch(32.84, 36.42, 107.82°)
OKLaboklab(41.72% -0.0341 0.0768)
OKLCHoklch(41.72% 0.084 114)
XYZxyz(6.0243, 7.4619, 1.6532)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5111 #161151
analogous
#513611 #4C5111 #2C5111
triadic
#4C5111 #114C51 #51114C
tetradic
#4C5111 #115136 #161151 #51112C
square
#4C5111 #115136 #161151 #51112C
split-complementary
#4C5111 #112C51 #361151
monochromatic
#181905 #1D1E06 #4C5111 #7B841C #ABB626

Accessibility & contrast

On white

8.43
#4C5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4C5111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5111
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5111#FFFFFF#000000##FFFFFF
##4C51111.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#574E16
Tritanopia (blue-blind)
#524C45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c5111;
/* rgb */ color: rgb(76, 81, 17);
/* oklch */ color: oklch(41.7% 0.084 114.0);
Tailwind
colors: {
  custom: {
    50: '#808154',
    500: '#4c5111',
    950: '#000000',
  },
}
SCSS
$custom: #4c5111;
$custom-light: #808154;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5111",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 64.688,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41718,
    "c": 0.08402,
    "h": 114
  },
  "luminance": 0.07462
}

Semantic roles & 50–950 ramp

primary
#4C5111
secondary
#3A348A
accent
#40E84D
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C5111

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

Preview Lab → · Contrast checker → · Palette generator →

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