#4C4E1B#4C4E1B

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

Color values

HEX#4C4E1B
RGBrgb(76, 78, 27)
HSLhsl(62, 49%, 21%)
HSVhsv(62, 65%, 31%)
CMYKcmyk(2.6%, 0%, 65.4%, 69.4%)
CIE-LABlab(31.95, -8.69, 29.13)
CIE-LCHlch(31.95, 30.40, 106.61°)
OKLaboklab(41.04% -0.026 0.0669)
OKLCHoklch(41.04% 0.072 111.3)
XYZxyz(5.9029, 7.0645, 2.0893)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E1B #1D1B4E
analogous
#4E361B #4C4E1B #324E1B
triadic
#4C4E1B #1B4C4E #4E1B4C
tetradic
#4C4E1B #1B4E36 #1D1B4E #4E1B32
square
#4C4E1B #1B4E36 #1D1B4E #4E1B32
split-complementary
#4C4E1B #1B324E #361B4E
monochromatic
#161708 #20210B #4C4E1B #787B2B #A5A93A

Accessibility & contrast

On white

8.70
#4C4E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4E1B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E1B#FFFFFF#000000##FFFFFF
##4C4E1B1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A15
Deuteranopia (green-blind)
#544C1E
Tritanopia (blue-blind)
#514943
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c4e1b;
/* rgb */ color: rgb(76, 78, 27);
/* oklch */ color: oklch(41.0% 0.072 111.3);
Tailwind
colors: {
  custom: {
    50: '#807f5a',
    500: '#4c4e1b',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e1b;
$custom-light: #807f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e1b",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 27
  },
  "hsl": {
    "h": 62.353,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41039,
    "c": 0.07179,
    "h": 111.3
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#4C4E1B
secondary
#444184
accent
#50D855
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4C4E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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