#4E5015#4E5015

#4E5015 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.079 H 111.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4E5015
RGBrgb(78, 80, 21)
HSLhsl(62, 58%, 20%)
HSVhsv(62, 74%, 31%)
CMYKcmyk(2.5%, 0%, 73.7%, 68.6%)
CIE-LABlab(32.73, -9.33, 32.91)
CIE-LCHlch(32.73, 34.21, 105.84°)
OKLaboklab(41.68% -0.0287 0.0738)
OKLCHoklch(41.68% 0.079 111.3)
XYZxyz(6.1461, 7.4113, 1.8161)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5015 #171550
analogous
#503515 #4E5015 #315015
triadic
#4E5015 #154E50 #50154E
tetradic
#4E5015 #155035 #171550 #501531
square
#4E5015 #155035 #171550 #501531
split-complementary
#4E5015 #153150 #351550
monochromatic
#181806 #1F2008 #4E5015 #7D8022 #ADB12E

Accessibility & contrast

On white

8.46
#4E5015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E5015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5015
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5015#FFFFFF#000000##FFFFFF
##4E50151.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0C
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#544B44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e5015;
/* rgb */ color: rgb(78, 80, 21);
/* oklch */ color: oklch(41.7% 0.079 111.3);
Tailwind
colors: {
  custom: {
    50: '#828056',
    500: '#4e5015',
    950: '#000000',
  },
}
SCSS
$custom: #4e5015;
$custom-light: #828056;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5015",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 62.034,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41684,
    "c": 0.07918,
    "h": 111.3
  },
  "luminance": 0.07411
}

Semantic roles & 50–950 ramp

primary
#4E5015
secondary
#3C3988
accent
#46E24B
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5015

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

Preview Lab → · Contrast checker → · Palette generator →

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