#4E5617#4E5617

#4E5617 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.3% C 0.085 H 116.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4E5617
RGBrgb(78, 86, 23)
HSLhsl(68, 58%, 21%)
HSVhsv(68, 73%, 34%)
CMYKcmyk(9.3%, 0%, 73.3%, 66.3%)
CIE-LABlab(34.68, -12.66, 33.99)
CIE-LCHlch(34.68, 36.27, 110.43°)
OKLaboklab(43.25% -0.0378 0.0764)
OKLCHoklch(43.25% 0.085 116.3)
XYZxyz(6.6245, 8.3372, 2.0707)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5617 #1F1756
analogous
#563F17 #4E5617 #2F5617
triadic
#4E5617 #174E56 #56174E
tetradic
#4E5617 #17563F #1F1756 #56172F
square
#4E5617 #17563F #1F1756 #56172F
split-complementary
#4E5617 #172F56 #3F1756
monochromatic
#161806 #22260A #4E5617 #7A8624 #A6B731

Accessibility & contrast

On white

7.87
#4E5617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E5617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5617
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5617#FFFFFF#000000##FFFFFF
##4E56171.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510E
Deuteranopia (green-blind)
#5C521C
Tritanopia (blue-blind)
#535149
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e5617;
/* rgb */ color: rgb(78, 86, 23);
/* oklch */ color: oklch(43.3% 0.085 116.3);
Tailwind
colors: {
  custom: {
    50: '#828558',
    500: '#4e5617',
    950: '#000000',
  },
}
SCSS
$custom: #4e5617;
$custom-light: #828558;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5617",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 23
  },
  "hsl": {
    "h": 67.619,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43251,
    "c": 0.08526,
    "h": 116.3
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#4E5617
secondary
#463C8D
accent
#47E15A
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5617

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

Preview Lab → · Contrast checker → · Palette generator →

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