#4C4E17#4C4E17

#4C4E17 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.0% C 0.076 H 111.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4C4E17
RGBrgb(76, 78, 23)
HSLhsl(62, 54%, 20%)
HSVhsv(62, 71%, 31%)
CMYKcmyk(2.6%, 0%, 70.5%, 69.4%)
CIE-LABlab(31.91, -9.01, 31.08)
CIE-LCHlch(31.91, 32.36, 106.16°)
OKLaboklab(41% -0.0274 0.0704)
OKLCHoklch(41% 0.076 111.3)
XYZxyz(5.8597, 7.0473, 1.8620)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E17 #19174E
analogous
#4E3517 #4C4E17 #314E17
triadic
#4C4E17 #174C4E #4E174C
tetradic
#4C4E17 #174E35 #19174E #4E1731
square
#4C4E17 #174E35 #19174E #4E1731
split-complementary
#4C4E17 #17314E #35174E
monochromatic
#171807 #1E1F09 #4C4E17 #7A7D25 #A8AD33

Accessibility & contrast

On white

8.72
#4C4E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4C4E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E17
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E17#FFFFFF#000000##FFFFFF
##4C4E171.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A10
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#524943
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c4e17;
/* rgb */ color: rgb(76, 78, 23);
/* oklch */ color: oklch(41.0% 0.076 111.3);
Tailwind
colors: {
  custom: {
    50: '#807f57',
    500: '#4c4e17',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e17;
$custom-light: #807f57;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e17",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 62.182,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40995,
    "c": 0.07552,
    "h": 111.3
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

primary
#4C4E17
secondary
#3E3C85
accent
#4ADE4F
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C4E17

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

Preview Lab → · Contrast checker → · Palette generator →

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