#4E4C18#4E4C18

#4E4C18 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.7% C 0.072 H 107.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#4E4C18
RGBrgb(78, 76, 24)
HSLhsl(58, 53%, 20%)
HSVhsv(58, 69%, 31%)
CMYKcmyk(0%, 2.6%, 69.2%, 69.4%)
CIE-LABlab(31.47, -6.75, 30.19)
CIE-LCHlch(31.47, 30.93, 102.61°)
OKLaboklab(40.69% -0.0211 0.0686)
OKLCHoklch(40.69% 0.072 107.1)
XYZxyz(5.8914, 6.8547, 1.8767)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C18 #181A4E
analogous
#4E3118 #4E4C18 #354E18
triadic
#4E4C18 #184E4C #4C184E
tetradic
#4E4C18 #184E31 #181A4E #4E1835
square
#4E4C18 #184E31 #181A4E #4E1835
split-complementary
#4E4C18 #18354E #31184E
monochromatic
#171707 #1F1E0A #4E4C18 #7D7A26 #ACA735

Accessibility & contrast

On white

8.86
#4E4C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4E4C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C18
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C18#FFFFFF#000000##FFFFFF
##4E4C181.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534912
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#544741
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4c18;
/* rgb */ color: rgb(78, 76, 24);
/* oklch */ color: oklch(40.7% 0.072 107.1);
Tailwind
colors: {
  custom: {
    50: '#817d58',
    500: '#4e4c18',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c18;
$custom-light: #817d58;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c18",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 24
  },
  "hsl": {
    "h": 57.778,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.07176,
    "h": 107.1
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#4E4C18
secondary
#3D4085
accent
#51DC4B
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4C18

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

Preview Lab → · Contrast checker → · Palette generator →

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