#4E5515#4E5515

#4E5515 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.0% C 0.086 H 115.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4E5515
RGBrgb(78, 85, 21)
HSLhsl(67, 60%, 21%)
HSVhsv(67, 75%, 33%)
CMYKcmyk(8.2%, 0%, 75.3%, 66.7%)
CIE-LABlab(34.34, -12.23, 34.53)
CIE-LCHlch(34.34, 36.63, 109.50°)
OKLaboklab(42.97% -0.0368 0.0772)
OKLCHoklch(42.97% 0.086 115.5)
XYZxyz(6.5259, 8.1709, 1.9427)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5515 #1C1555
analogous
#553C15 #4E5515 #2E5515
triadic
#4E5515 #154E55 #55154E
tetradic
#4E5515 #15553C #1C1555 #55152E
square
#4E5515 #15553C #1C1555 #55152E
split-complementary
#4E5515 #152E55 #3C1555
monochromatic
#171906 #212409 #4E5515 #7B8621 #A8B72D

Accessibility & contrast

On white

7.97
#4E5515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4E5515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5515
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5515#FFFFFF#000000##FFFFFF
##4E55151.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500B
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#535048
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e5515;
/* rgb */ color: rgb(78, 85, 21);
/* oklch */ color: oklch(43.0% 0.086 115.5);
Tailwind
colors: {
  custom: {
    50: '#828457',
    500: '#4e5515',
    950: '#000000',
  },
}
SCSS
$custom: #4e5515;
$custom-light: #828457;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5515",
  "rgb": {
    "r": 78,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 66.563,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42974,
    "c": 0.08551,
    "h": 115.5
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

primary
#4E5515
secondary
#42398D
accent
#44E456
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5515

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

Preview Lab → · Contrast checker → · Palette generator →

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