#4E5314#4E5314

#4E5314 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.4% C 0.084 H 113.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#4E5314
RGBrgb(78, 83, 20)
HSLhsl(65, 61%, 20%)
HSVhsv(65, 76%, 33%)
CMYKcmyk(6%, 0%, 75.9%, 67.5%)
CIE-LABlab(33.68, -11.14, 34.31)
CIE-LCHlch(33.68, 36.07, 107.99°)
OKLaboklab(42.45% -0.0339 0.0765)
OKLCHoklch(42.45% 0.084 113.9)
XYZxyz(6.3616, 7.8568, 1.8431)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5314 #191453
analogous
#533814 #4E5314 #2E5314
triadic
#4E5314 #144E53 #53144E
tetradic
#4E5314 #145338 #191453 #53142E
square
#4E5314 #145338 #191453 #53142E
split-complementary
#4E5314 #142E53 #381453
monochromatic
#171906 #202208 #4E5314 #7C8420 #ABB62C

Accessibility & contrast

On white

8.17
#4E5314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E5314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5314
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5314#FFFFFF#000000##FFFFFF
##4E53141.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0A
Deuteranopia (green-blind)
#595019
Tritanopia (blue-blind)
#544E47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5314;
/* rgb */ color: rgb(78, 83, 20);
/* oklch */ color: oklch(42.4% 0.084 113.9);
Tailwind
colors: {
  custom: {
    50: '#828356',
    500: '#4e5314',
    950: '#000000',
  },
}
SCSS
$custom: #4e5314;
$custom-light: #828356;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5314",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 64.762,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42447,
    "c": 0.0837,
    "h": 113.9
  },
  "luminance": 0.07857
}

Semantic roles & 50–950 ramp

primary
#4E5314
secondary
#3E388B
accent
#44E450
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5314

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

Preview Lab → · Contrast checker → · Palette generator →

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