#4C4E0A#4C4E0A

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

Color values

HEX#4C4E0A
RGBrgb(76, 78, 10)
HSLhsl(62, 77%, 17%)
HSVhsv(62, 87%, 31%)
CMYKcmyk(2.6%, 0%, 87.2%, 69.4%)
CIE-LABlab(31.82, -9.74, 36.32)
CIE-LCHlch(31.82, 37.61, 105.01°)
OKLaboklab(40.89% -0.0309 0.0788)
OKLCHoklch(40.89% 0.085 111.4)
XYZxyz(5.7599, 7.0073, 1.3362)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E0A #0C0A4E
analogous
#4E2E0A #4C4E0A #2A4E0A
triadic
#4C4E0A #0A4C4E #4E0A4C
tetradic
#4C4E0A #0A4E2E #0C0A4E #4E0A2A
square
#4C4E0A #0A4E2E #0C0A4E #4E0A2A
split-complementary
#4C4E0A #0A2A4E #2E0A4E
monochromatic
#1A1B03 #1A1B03 #4C4E0A #818411 #B6BA18

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C4E0A#FFFFFF#000000##FFFFFF
##4C4E0A1.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)
#554A00
Deuteranopia (green-blind)
#554C10
Tritanopia (blue-blind)
#524842
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c4e0a;
/* rgb */ color: rgb(76, 78, 10);
/* oklch */ color: oklch(40.9% 0.085 111.4);
Tailwind
colors: {
  custom: {
    50: '#817f51',
    500: '#4c4e0a',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e0a;
$custom-light: #817f51;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e0a",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 10
  },
  "hsl": {
    "h": 61.765,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.40894,
    "c": 0.08467,
    "h": 111.4
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#4C4E0A
secondary
#2C298B
accent
#34F43A
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4C4E0A

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

Preview Lab → · Contrast checker → · Palette generator →

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