#4C4E18#4C4E18

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

Color values

HEX#4C4E18
RGBrgb(76, 78, 24)
HSLhsl(62, 53%, 20%)
HSVhsv(62, 69%, 31%)
CMYKcmyk(2.6%, 0%, 69.2%, 69.4%)
CIE-LABlab(31.92, -8.93, 30.61)
CIE-LCHlch(31.92, 31.88, 106.27°)
OKLaboklab(41.01% -0.0271 0.0695)
OKLCHoklch(41.01% 0.075 111.3)
XYZxyz(5.8699, 7.0514, 1.9158)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E18 #1A184E
analogous
#4E3518 #4C4E18 #314E18
triadic
#4C4E18 #184C4E #4E184C
tetradic
#4C4E18 #184E35 #1A184E #4E1831
square
#4C4E18 #184E35 #1A184E #4E1831
split-complementary
#4C4E18 #18314E #35184E
monochromatic
#171707 #1E1F0A #4C4E18 #7A7D26 #A7AC35

Accessibility & contrast

On white

8.71
#4C4E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4E18
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E18#FFFFFF#000000##FFFFFF
##4C4E181.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4e18;
/* rgb */ color: rgb(76, 78, 24);
/* oklch */ color: oklch(41.0% 0.075 111.3);
Tailwind
colors: {
  custom: {
    50: '#807f58',
    500: '#4c4e18',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e18;
$custom-light: #807f58;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e18",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 62.222,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.41005,
    "c": 0.07462,
    "h": 111.3
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#4C4E18
secondary
#403D85
accent
#4BDC51
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C4E18

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

Preview Lab → · Contrast checker → · Palette generator →

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