#4C4E22#4C4E22

#4C4E22 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.1% C 0.064 H 111.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#4C4E22
RGBrgb(76, 78, 34)
HSLhsl(63, 39%, 22%)
HSVhsv(63, 56%, 31%)
CMYKcmyk(2.6%, 0%, 56.4%, 69.4%)
CIE-LABlab(32.04, -8.03, 25.47)
CIE-LCHlch(32.04, 26.70, 107.51°)
OKLaboklab(41.13% -0.0233 0.06)
OKLCHoklch(41.13% 0.064 111.3)
XYZxyz(5.9937, 7.1009, 2.5679)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E22 #24224E
analogous
#4E3A22 #4C4E22 #364E22
triadic
#4C4E22 #224C4E #4E224C
tetradic
#4C4E22 #224E3A #24224E #4E2236
square
#4C4E22 #224E3A #24224E #4E2236
split-complementary
#4C4E22 #22364E #3A224E
monochromatic
#151509 #22230F #4C4E22 #767935 #9FA347

Accessibility & contrast

On white

8.68
#4C4E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4C4E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E22
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E22#FFFFFF#000000##FFFFFF
##4C4E221.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1E
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#514A44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c4e22;
/* rgb */ color: rgb(76, 78, 34);
/* oklch */ color: oklch(41.1% 0.064 111.3);
Tailwind
colors: {
  custom: {
    50: '#7f7f5e',
    500: '#4c4e22',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e22;
$custom-light: #7f7f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e22",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 34
  },
  "hsl": {
    "h": 62.727,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41131,
    "c": 0.06433,
    "h": 111.3
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#4C4E22
secondary
#4C4A82
accent
#59CF5E
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4C4E22

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

Preview Lab → · Contrast checker → · Palette generator →

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