#4E4915#4E4915

#4E4915 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.9% C 0.071 H 103.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#4E4915
RGBrgb(78, 73, 21)
HSLhsl(55, 58%, 19%)
HSVhsv(55, 73%, 31%)
CMYKcmyk(0%, 6.4%, 73.1%, 69.4%)
CIE-LABlab(30.49, -5.15, 30.63)
CIE-LCHlch(30.49, 31.06, 99.55°)
OKLaboklab(39.9% -0.0169 0.069)
OKLCHoklch(39.9% 0.071 103.8)
XYZxyz(5.6600, 6.4391, 1.6541)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4915 #151A4E
analogous
#4E2D15 #4E4915 #374E15
triadic
#4E4915 #154E49 #49154E
tetradic
#4E4915 #154E2D #151A4E #4E1537
square
#4E4915 #154E2D #151A4E #4E1537
split-complementary
#4E4915 #15374E #2D154E
monochromatic
#181706 #1E1C08 #4E4915 #7E7622 #AEA32F

Accessibility & contrast

On white

9.18
#4E4915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4915
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4915#FFFFFF#000000##FFFFFF
##4E49151.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460E
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#54443E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4915;
/* rgb */ color: rgb(78, 73, 21);
/* oklch */ color: oklch(39.9% 0.071 103.8);
Tailwind
colors: {
  custom: {
    50: '#827b56',
    500: '#4e4915',
    950: '#000000',
  },
}
SCSS
$custom: #4e4915;
$custom-light: #827b56;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4915",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 21
  },
  "hsl": {
    "h": 54.737,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39904,
    "c": 0.07102,
    "h": 103.8
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

primary
#4E4915
secondary
#394086
accent
#54E147
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4915

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

Preview Lab → · Contrast checker → · Palette generator →

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