#4C510C#4C510C

#4C510C is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.087 H 113.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4C510C
RGBrgb(76, 81, 12)
HSLhsl(64, 74%, 18%)
HSVhsv(64, 85%, 32%)
CMYKcmyk(6.2%, 0%, 85.2%, 68.2%)
CIE-LABlab(32.81, -11.40, 36.53)
CIE-LCHlch(32.81, 38.26, 107.33°)
OKLaboklab(41.68% -0.0353 0.0797)
OKLCHoklch(41.68% 0.087 113.9)
XYZxyz(5.9895, 7.4480, 1.4699)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C510C #110C51
analogous
#51330C #4C510C #29510C
triadic
#4C510C #0C4C51 #510C4C
tetradic
#4C510C #0C5133 #110C51 #510C29
square
#4C510C #0C5133 #110C51 #510C29
split-complementary
#4C510C #0C2951 #330C51
monochromatic
#191B04 #1A1C04 #4C510C #7E8614 #B0BC1C

Accessibility & contrast

On white

8.44
#4C510C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C510C
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C510C#FFFFFF#000000##FFFFFF
##4C510C1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D00
Deuteranopia (green-blind)
#584E12
Tritanopia (blue-blind)
#524C44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c510c;
/* rgb */ color: rgb(76, 81, 12);
/* oklch */ color: oklch(41.7% 0.087 113.9);
Tailwind
colors: {
  custom: {
    50: '#818152',
    500: '#4c510c',
    950: '#000000',
  },
}
SCSS
$custom: #4c510c;
$custom-light: #818152;
$custom-dark: #000000;
JSON
{
  "hex": "#4c510c",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 64.348,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.41684,
    "c": 0.08716,
    "h": 113.9
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#4C510C
secondary
#332C8C
accent
#37F144
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4C510C

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

Preview Lab → · Contrast checker → · Palette generator →

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