#4C4E0E#4C4E0E

#4C4E0E is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.9% C 0.082 H 111.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#4C4E0E
RGBrgb(76, 78, 14)
HSLhsl(62, 70%, 18%)
HSVhsv(62, 82%, 31%)
CMYKcmyk(2.6%, 0%, 82.1%, 69.4%)
CIE-LABlab(31.85, -9.56, 34.92)
CIE-LCHlch(31.85, 36.21, 105.31°)
OKLaboklab(40.92% -0.03 0.0767)
OKLCHoklch(40.92% 0.082 111.4)
XYZxyz(5.7843, 7.0171, 1.4651)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E0E #100E4E
analogous
#4E300E #4C4E0E #2C4E0E
triadic
#4C4E0E #0E4C4E #4E0E4C
tetradic
#4C4E0E #0E4E30 #100E4E #4E0E2C
square
#4C4E0E #0E4E30 #100E4E #4E0E2C
split-complementary
#4C4E0E #0E2C4E #300E4E
monochromatic
#191A05 #191A05 #4C4E0E #7F8217 #B1B621

Accessibility & contrast

On white

8.74
#4C4E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4C4E0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E0E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E0E#FFFFFF#000000##FFFFFF
##4C4E0E1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A02
Deuteranopia (green-blind)
#554C13
Tritanopia (blue-blind)
#524942
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c4e0e;
/* rgb */ color: rgb(76, 78, 14);
/* oklch */ color: oklch(40.9% 0.082 111.4);
Tailwind
colors: {
  custom: {
    50: '#817f52',
    500: '#4c4e0e',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e0e;
$custom-light: #817f52;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e0e",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 14
  },
  "hsl": {
    "h": 61.875,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.40919,
    "c": 0.08236,
    "h": 111.4
  },
  "luminance": 0.07017
}

Semantic roles & 50–950 ramp

primary
#4C4E0E
secondary
#322F89
accent
#3BEC41
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4C4E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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