#4E5415#4E5415

#4E5415 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.7% C 0.084 H 114.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#4E5415
RGBrgb(78, 84, 21)
HSLhsl(66, 60%, 21%)
HSVhsv(66, 75%, 33%)
CMYKcmyk(7.1%, 0%, 75%, 67.1%)
CIE-LABlab(34.01, -11.65, 34.20)
CIE-LCHlch(34.01, 36.13, 108.82°)
OKLaboklab(42.72% -0.0352 0.0765)
OKLCHoklch(42.72% 0.084 114.7)
XYZxyz(6.4477, 8.0146, 1.9166)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5415 #1B1554
analogous
#543A15 #4E5415 #2E5415
triadic
#4E5415 #154E54 #54154E
tetradic
#4E5415 #15543A #1B1554 #54152E
square
#4E5415 #15543A #1B1554 #54152E
split-complementary
#4E5415 #152E54 #3A1554
monochromatic
#171806 #212309 #4E5415 #7B8521 #A9B62D

Accessibility & contrast

On white

8.07
#4E5415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E5415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5415
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5415#FFFFFF#000000##FFFFFF
##4E54151.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0B
Deuteranopia (green-blind)
#5A511A
Tritanopia (blue-blind)
#534F48
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e5415;
/* rgb */ color: rgb(78, 84, 21);
/* oklch */ color: oklch(42.7% 0.084 114.7);
Tailwind
colors: {
  custom: {
    50: '#828457',
    500: '#4e5415',
    950: '#000000',
  },
}
SCSS
$custom: #4e5415;
$custom-light: #828457;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5415",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 21
  },
  "hsl": {
    "h": 65.714,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42715,
    "c": 0.08422,
    "h": 114.7
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#4E5415
secondary
#41398C
accent
#45E354
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5415

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

Preview Lab → · Contrast checker → · Palette generator →

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