#4E4918#4E4918

#4E4918 is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 39.9% C 0.068 H 103.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#4E4918
RGBrgb(78, 73, 24)
HSLhsl(54, 53%, 20%)
HSVhsv(54, 69%, 31%)
CMYKcmyk(0%, 6.4%, 69.2%, 69.4%)
CIE-LABlab(30.52, -4.94, 29.17)
CIE-LCHlch(30.52, 29.59, 99.61°)
OKLaboklab(39.94% -0.0159 0.0664)
OKLCHoklch(39.94% 0.068 103.5)
XYZxyz(5.6895, 6.4510, 1.8094)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4918 #181D4E
analogous
#4E2E18 #4E4918 #384E18
triadic
#4E4918 #184E49 #49184E
tetradic
#4E4918 #184E2E #181D4E #4E1838
square
#4E4918 #184E2E #181D4E #4E1838
split-complementary
#4E4918 #18384E #2E184E
monochromatic
#171607 #1F1D0A #4E4918 #7D7526 #ACA135

Accessibility & contrast

On white

9.17
#4E4918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4E4918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4918
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4918#FFFFFF#000000##FFFFFF
##4E49181.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504612
Deuteranopia (green-blind)
#51491B
Tritanopia (blue-blind)
#54443F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4918;
/* rgb */ color: rgb(78, 73, 24);
/* oklch */ color: oklch(39.9% 0.068 103.5);
Tailwind
colors: {
  custom: {
    50: '#817b57',
    500: '#4e4918',
    950: '#000000',
  },
}
SCSS
$custom: #4e4918;
$custom-light: #817b57;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4918",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 24
  },
  "hsl": {
    "h": 54.444,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.39936,
    "c": 0.06833,
    "h": 103.5
  },
  "luminance": 0.06451
}

Semantic roles & 50–950 ramp

primary
#4E4918
secondary
#3D4485
accent
#59DC4B
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4918

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

Preview Lab → · Contrast checker → · Palette generator →

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