#4C4E1C#4C4E1C

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

Color values

HEX#4C4E1C
RGBrgb(76, 78, 28)
HSLhsl(62, 47%, 21%)
HSVhsv(62, 64%, 31%)
CMYKcmyk(2.6%, 0%, 64.1%, 69.4%)
CIE-LABlab(31.96, -8.61, 28.63)
CIE-LCHlch(31.96, 29.89, 106.73°)
OKLaboklab(41.05% -0.0257 0.066)
OKLCHoklch(41.05% 0.071 111.3)
XYZxyz(5.9146, 7.0693, 2.1513)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E1C #1E1C4E
analogous
#4E371C #4C4E1C #334E1C
triadic
#4C4E1C #1C4C4E #4E1C4C
tetradic
#4C4E1C #1C4E37 #1E1C4E #4E1C33
square
#4C4E1C #1C4E37 #1E1C4E #4E1C33
split-complementary
#4C4E1C #1C334E #371C4E
monochromatic
#161708 #20210C #4C4E1C #787B2C #A4A83C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C4E1C#FFFFFF#000000##FFFFFF
##4C4E1C1.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)
#544A16
Deuteranopia (green-blind)
#544C1F
Tritanopia (blue-blind)
#514943
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c4e1c;
/* rgb */ color: rgb(76, 78, 28);
/* oklch */ color: oklch(41.1% 0.071 111.3);
Tailwind
colors: {
  custom: {
    50: '#807f5a',
    500: '#4c4e1c',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e1c;
$custom-light: #807f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e1c",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 28
  },
  "hsl": {
    "h": 62.4,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41051,
    "c": 0.07079,
    "h": 111.3
  },
  "luminance": 0.07069
}

Semantic roles & 50–950 ramp

primary
#4C4E1C
secondary
#454284
accent
#51D756
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4C4E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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