#4E5417#4E5417

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

Color values

HEX#4E5417
RGBrgb(78, 84, 23)
HSLhsl(66, 57%, 21%)
HSVhsv(66, 73%, 33%)
CMYKcmyk(7.1%, 0%, 72.6%, 67.1%)
CIE-LABlab(34.03, -11.52, 33.33)
CIE-LCHlch(34.03, 35.26, 109.07°)
OKLaboklab(42.73% -0.0346 0.075)
OKLCHoklch(42.73% 0.083 114.8)
XYZxyz(6.4670, 8.0223, 2.0182)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5417 #1D1754
analogous
#543B17 #4E5417 #2F5417
triadic
#4E5417 #174E54 #54174E
tetradic
#4E5417 #17543B #1D1754 #54172F
square
#4E5417 #17543B #1D1754 #54172F
split-complementary
#4E5417 #172F54 #3B1754
monochromatic
#161807 #21240A #4E5417 #7B8424 #A7B431

Accessibility & contrast

On white

8.06
#4E5417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5417
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5417#FFFFFF#000000##FFFFFF
##4E54171.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e5417;
/* rgb */ color: rgb(78, 84, 23);
/* oklch */ color: oklch(42.7% 0.083 114.8);
Tailwind
colors: {
  custom: {
    50: '#828458',
    500: '#4e5417',
    950: '#000000',
  },
}
SCSS
$custom: #4e5417;
$custom-light: #828458;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5417",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 23
  },
  "hsl": {
    "h": 65.902,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42733,
    "c": 0.08263,
    "h": 114.8
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#4E5417
secondary
#443C8B
accent
#48E057
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5417

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

Preview Lab → · Contrast checker → · Palette generator →

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