#4C4E25#4C4E25

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

Color values

HEX#4C4E25
RGBrgb(76, 78, 37)
HSLhsl(63, 36%, 23%)
HSVhsv(63, 53%, 31%)
CMYKcmyk(2.6%, 0%, 52.6%, 69.4%)
CIE-LABlab(32.08, -7.71, 23.82)
CIE-LCHlch(32.08, 25.03, 107.94°)
OKLaboklab(41.18% -0.022 0.0567)
OKLCHoklch(41.18% 0.061 111.3)
XYZxyz(6.0389, 7.1190, 2.8059)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E25 #27254E
analogous
#4E3C25 #4C4E25 #374E25
triadic
#4C4E25 #254C4E #4E254C
tetradic
#4C4E25 #254E3C #27254E #4E2537
square
#4C4E25 #254E3C #27254E #4E2537
split-complementary
#4C4E25 #25374E #3C254E
monochromatic
#14150A #242411 #4C4E25 #747839 #9DA14C

Accessibility & contrast

On white

8.66
#4C4E25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4E25
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E25#FFFFFF#000000##FFFFFF
##4C4E251.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B21
Deuteranopia (green-blind)
#544C27
Tritanopia (blue-blind)
#514A44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c4e25;
/* rgb */ color: rgb(76, 78, 37);
/* oklch */ color: oklch(41.2% 0.061 111.3);
Tailwind
colors: {
  custom: {
    50: '#7f7f60',
    500: '#4c4e25',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e25;
$custom-light: #7f7f60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e25",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 37
  },
  "hsl": {
    "h": 62.927,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41177,
    "c": 0.0608,
    "h": 111.3
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#4C4E25
secondary
#504E81
accent
#5CCC62
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A05
muted
#7C7C79

Preview Lab

Preview with #4C4E25

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

Preview Lab → · Contrast checker → · Palette generator →

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