#4C5210#4C5210

#4C5210 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.0% C 0.086 H 114.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4C5210
RGBrgb(76, 82, 16)
HSLhsl(65, 67%, 19%)
HSVhsv(65, 80%, 32%)
CMYKcmyk(7.3%, 0%, 80.5%, 67.8%)
CIE-LABlab(33.15, -11.78, 35.38)
CIE-LCHlch(33.15, 37.29, 108.41°)
OKLaboklab(41.97% -0.036 0.0781)
OKLCHoklch(41.97% 0.086 114.7)
XYZxyz(6.0915, 7.6086, 1.6378)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5210 #161052
analogous
#523710 #4C5210 #2B5210
triadic
#4C5210 #104C52 #52104C
tetradic
#4C5210 #105237 #161052 #52102B
square
#4C5210 #105237 #161052 #52102B
split-complementary
#4C5210 #102B52 #371052
monochromatic
#181A05 #1D1F06 #4C5210 #7B851A #ABB824

Accessibility & contrast

On white

8.33
#4C5210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4C5210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5210
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5210#FFFFFF#000000##FFFFFF
##4C52101.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594D04
Deuteranopia (green-blind)
#584F16
Tritanopia (blue-blind)
#524D45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c5210;
/* rgb */ color: rgb(76, 82, 16);
/* oklch */ color: oklch(42.0% 0.086 114.7);
Tailwind
colors: {
  custom: {
    50: '#808254',
    500: '#4c5210',
    950: '#000000',
  },
}
SCSS
$custom: #4c5210;
$custom-light: #808254;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5210",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 65.455,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41971,
    "c": 0.08595,
    "h": 114.7
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#4C5210
secondary
#3A328C
accent
#3EEA4D
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C5210

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

Preview Lab → · Contrast checker → · Palette generator →

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