#4E5315#4E5315

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

Color values

HEX#4E5315
RGBrgb(78, 83, 21)
HSLhsl(65, 60%, 20%)
HSVhsv(65, 75%, 33%)
CMYKcmyk(6%, 0%, 74.7%, 67.5%)
CIE-LABlab(33.69, -11.08, 33.88)
CIE-LCHlch(33.69, 35.65, 108.11°)
OKLaboklab(42.46% -0.0336 0.0758)
OKLCHoklch(42.46% 0.083 113.9)
XYZxyz(6.3707, 7.8605, 1.8909)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5315 #1A1553
analogous
#533915 #4E5315 #2F5315
triadic
#4E5315 #154E53 #53154E
tetradic
#4E5315 #155339 #1A1553 #53152F
square
#4E5315 #155339 #1A1553 #53152F
split-complementary
#4E5315 #152F53 #391553
monochromatic
#171806 #202209 #4E5315 #7C8421 #AAB52E

Accessibility & contrast

On white

8.16
#4E5315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5315
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5315#FFFFFF#000000##FFFFFF
##4E53151.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0B
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#544E47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5315;
/* rgb */ color: rgb(78, 83, 21);
/* oklch */ color: oklch(42.5% 0.083 113.9);
Tailwind
colors: {
  custom: {
    50: '#828357',
    500: '#4e5315',
    950: '#000000',
  },
}
SCSS
$custom: #4e5315;
$custom-light: #828357;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5315",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 64.839,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42456,
    "c": 0.08294,
    "h": 113.9
  },
  "luminance": 0.0786
}

Semantic roles & 50–950 ramp

primary
#4E5315
secondary
#40398B
accent
#45E352
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5315

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

Preview Lab → · Contrast checker → · Palette generator →

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