#4C4E1A#4C4E1A

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

Color values

HEX#4C4E1A
RGBrgb(76, 78, 26)
HSLhsl(62, 50%, 20%)
HSVhsv(62, 67%, 31%)
CMYKcmyk(2.6%, 0%, 66.7%, 69.4%)
CIE-LABlab(31.94, -8.77, 29.63)
CIE-LCHlch(31.94, 30.90, 106.49°)
OKLaboklab(41.03% -0.0264 0.0678)
OKLCHoklch(41.03% 0.073 111.3)
XYZxyz(5.8915, 7.0600, 2.0294)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E1A #1C1A4E
analogous
#4E361A #4C4E1A #324E1A
triadic
#4C4E1A #1A4C4E #4E1A4C
tetradic
#4C4E1A #1A4E36 #1C1A4E #4E1A32
square
#4C4E1A #1A4E36 #1C1A4E #4E1A32
split-complementary
#4C4E1A #1A324E #361A4E
monochromatic
#161708 #1F200B #4C4E1A #797C29 #A5AA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C4E1A#FFFFFF#000000##FFFFFF
##4C4E1A1.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)
#544A14
Deuteranopia (green-blind)
#554C1D
Tritanopia (blue-blind)
#514943
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c4e1a;
/* rgb */ color: rgb(76, 78, 26);
/* oklch */ color: oklch(41.0% 0.073 111.3);
Tailwind
colors: {
  custom: {
    50: '#807f59',
    500: '#4c4e1a',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e1a;
$custom-light: #807f59;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e1a",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 26
  },
  "hsl": {
    "h": 62.308,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41027,
    "c": 0.07276,
    "h": 111.3
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#4C4E1A
secondary
#424084
accent
#4EDA54
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4C4E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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