#4E4A18#4E4A18

#4E4A18 is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.2% C 0.069 H 104.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#4E4A18
RGBrgb(78, 74, 24)
HSLhsl(56, 53%, 20%)
HSVhsv(56, 69%, 31%)
CMYKcmyk(0%, 5.1%, 69.2%, 69.4%)
CIE-LABlab(30.84, -5.55, 29.51)
CIE-LCHlch(30.84, 30.03, 100.64°)
OKLaboklab(40.19% -0.0177 0.0672)
OKLCHoklch(40.19% 0.069 104.7)
XYZxyz(5.7557, 6.5834, 1.8315)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A18 #181C4E
analogous
#4E2F18 #4E4A18 #374E18
triadic
#4E4A18 #184E4A #4A184E
tetradic
#4E4A18 #184E2F #181C4E #4E1837
square
#4E4A18 #184E2F #181C4E #4E1837
split-complementary
#4E4A18 #18374E #2F184E
monochromatic
#171607 #1F1E0A #4E4A18 #7D7626 #ACA335

Accessibility & contrast

On white

9.07
#4E4A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4E4A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A18
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A18#FFFFFF#000000##FFFFFF
##4E4A181.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514712
Deuteranopia (green-blind)
#524A1B
Tritanopia (blue-blind)
#54453F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e4a18;
/* rgb */ color: rgb(78, 74, 24);
/* oklch */ color: oklch(40.2% 0.069 104.7);
Tailwind
colors: {
  custom: {
    50: '#817c58',
    500: '#4e4a18',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a18;
$custom-light: #817c58;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a18",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 55.556,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.40188,
    "c": 0.06944,
    "h": 104.7
  },
  "luminance": 0.06583
}

Semantic roles & 50–950 ramp

primary
#4E4A18
secondary
#3D4285
accent
#56DC4B
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4A18

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

Preview Lab → · Contrast checker → · Palette generator →

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