#4C510E#4C510E

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

Color values

HEX#4C510E
RGBrgb(76, 81, 14)
HSLhsl(64, 71%, 19%)
HSVhsv(64, 83%, 32%)
CMYKcmyk(6.2%, 0%, 82.7%, 68.2%)
CIE-LABlab(32.82, -11.31, 35.82)
CIE-LCHlch(32.82, 37.57, 107.52°)
OKLaboklab(41.7% -0.0348 0.0786)
OKLCHoklch(41.7% 0.086 113.9)
XYZxyz(6.0024, 7.4532, 1.5378)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C510E #130E51
analogous
#51340E #4C510E #2A510E
triadic
#4C510E #0E4C51 #510E4C
tetradic
#4C510E #0E5134 #130E51 #510E2A
square
#4C510E #0E5134 #130E51 #510E2A
split-complementary
#4C510E #0E2A51 #340E51
monochromatic
#181A05 #1B1D05 #4C510E #7D8517 #AEB920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C510E#FFFFFF#000000##FFFFFF
##4C510E1.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)
#584D01
Deuteranopia (green-blind)
#574E14
Tritanopia (blue-blind)
#524C44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c510e;
/* rgb */ color: rgb(76, 81, 14);
/* oklch */ color: oklch(41.7% 0.086 113.9);
Tailwind
colors: {
  custom: {
    50: '#818153',
    500: '#4c510e',
    950: '#000000',
  },
}
SCSS
$custom: #4c510e;
$custom-light: #818153;
$custom-dark: #000000;
JSON
{
  "hex": "#4c510e",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 64.478,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.41696,
    "c": 0.08599,
    "h": 113.9
  },
  "luminance": 0.07453
}

Semantic roles & 50–950 ramp

primary
#4C510E
secondary
#362F8C
accent
#3AED48
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4C510E

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

Preview Lab → · Contrast checker → · Palette generator →

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