#4E500F#4E500F

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

Color values

HEX#4E500F
RGBrgb(78, 80, 15)
HSLhsl(62, 68%, 19%)
HSVhsv(62, 81%, 31%)
CMYKcmyk(2.5%, 0%, 81.3%, 68.6%)
CIE-LABlab(32.68, -9.69, 35.39)
CIE-LCHlch(32.68, 36.69, 105.31°)
OKLaboklab(41.64% -0.0304 0.0778)
OKLCHoklch(41.64% 0.084 111.3)
XYZxyz(6.0970, 7.3917, 1.5574)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E500F #110F50
analogous
#50310F #4E500F #2D500F
triadic
#4E500F #0F4E50 #500F4E
tetradic
#4E500F #0F5031 #110F50 #500F2D
square
#4E500F #0F5031 #110F50 #500F2D
split-complementary
#4E500F #0F2D50 #310F50
monochromatic
#191A05 #1C1C05 #4E500F #808419 #B2B722

Accessibility & contrast

On white

8.47
#4E500F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E500F
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E500F#FFFFFF#000000##FFFFFF
##4E500F1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C03
Deuteranopia (green-blind)
#574E14
Tritanopia (blue-blind)
#544A44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e500f;
/* rgb */ color: rgb(78, 80, 15);
/* oklch */ color: oklch(41.6% 0.084 111.3);
Tailwind
colors: {
  custom: {
    50: '#828053',
    500: '#4e500f',
    950: '#000000',
  },
}
SCSS
$custom: #4e500f;
$custom-light: #828053;
$custom-dark: #000000;
JSON
{
  "hex": "#4e500f",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 61.846,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.41635,
    "c": 0.08352,
    "h": 111.3
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#4E500F
secondary
#33318A
accent
#3DEB42
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E500F

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

Preview Lab → · Contrast checker → · Palette generator →

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