#4C5032#4C5032

#4C5032 is a dark, muted yellow. Relative luminance 0.075; OKLCH L 41.9% C 0.047 H 114.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4C5032
RGBrgb(76, 80, 50)
HSLhsl(68, 23%, 25%)
HSVhsv(68, 38%, 31%)
CMYKcmyk(5%, 0%, 37.5%, 68.6%)
CIE-LABlab(32.93, -7.22, 17.18)
CIE-LCHlch(32.93, 18.63, 112.79°)
OKLaboklab(41.93% -0.0195 0.0425)
OKLCHoklch(41.93% 0.047 114.6)
XYZxyz(6.4249, 7.5042, 4.1270)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5032 #363250
analogous
#504532 #4C5032 #3D5032
triadic
#4C5032 #324C50 #50324C
tetradic
#4C5032 #325045 #363250 #50323D
square
#4C5032 #325045 #363250 #50323D
split-complementary
#4C5032 #323D50 #453250
monochromatic
#12130C #282A1A #4C5032 #70764A #949B61

Accessibility & contrast

On white

8.40
#4C5032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4C5032 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5032
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5032#FFFFFF#000000##FFFFFF
##4C50321.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D30
Deuteranopia (green-blind)
#544E33
Tritanopia (blue-blind)
#4F4D48
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c5032;
/* rgb */ color: rgb(76, 80, 50);
/* oklch */ color: oklch(41.9% 0.047 114.6);
Tailwind
colors: {
  custom: {
    50: '#7e816a',
    500: '#4c5032',
    950: '#000000',
  },
}
SCSS
$custom: #4c5032;
$custom-light: #7e816a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5032",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 50
  },
  "hsl": {
    "h": 68,
    "s": 23.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.41925,
    "c": 0.04674,
    "h": 114.6
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#4C5032
secondary
#625D81
accent
#68C074
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #4C5032

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

Preview Lab → · Contrast checker → · Palette generator →

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