#4E4D18#4E4D18

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

Color values

HEX#4E4D18
RGBrgb(78, 77, 24)
HSLhsl(59, 53%, 20%)
HSVhsv(59, 69%, 31%)
CMYKcmyk(0%, 1.3%, 69.2%, 69.4%)
CIE-LABlab(31.79, -7.35, 30.53)
CIE-LCHlch(31.79, 31.40, 103.54°)
OKLaboklab(40.95% -0.0228 0.0693)
OKLCHoklch(40.95% 0.073 108.2)
XYZxyz(5.9608, 6.9936, 1.8999)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D18 #18194E
analogous
#4E3218 #4E4D18 #344E18
triadic
#4E4D18 #184E4D #4D184E
tetradic
#4E4D18 #184E32 #18194E #4E1834
square
#4E4D18 #184E32 #18194E #4E1834
split-complementary
#4E4D18 #18344E #32184E
monochromatic
#171707 #1F1F0A #4E4D18 #7D7B26 #ACA935

Accessibility & contrast

On white

8.76
#4E4D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4D18
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D18#FFFFFF#000000##FFFFFF
##4E4D181.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A11
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#544842
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4d18;
/* rgb */ color: rgb(78, 77, 24);
/* oklch */ color: oklch(40.9% 0.073 108.2);
Tailwind
colors: {
  custom: {
    50: '#817e58',
    500: '#4e4d18',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d18;
$custom-light: #817e58;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d18",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 24
  },
  "hsl": {
    "h": 58.889,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.40947,
    "c": 0.07295,
    "h": 108.2
  },
  "luminance": 0.06993
}

Semantic roles & 50–950 ramp

primary
#4E4D18
secondary
#3D3E85
accent
#4EDC4B
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E4D18

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

Preview Lab → · Contrast checker → · Palette generator →

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