#4E502F#4E502F

#4E502F is a dark, muted yellow. Relative luminance 0.076; OKLCH L 42.1% C 0.050 H 111.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4E502F
RGBrgb(78, 80, 47)
HSLhsl(64, 26%, 25%)
HSVhsv(64, 41%, 31%)
CMYKcmyk(2.5%, 0%, 41.3%, 68.6%)
CIE-LABlab(33.05, -6.72, 19.19)
CIE-LCHlch(33.05, 20.33, 109.31°)
OKLaboklab(42.05% -0.0184 0.047)
OKLCHoklch(42.05% 0.05 111.4)
XYZxyz(6.5237, 7.5624, 3.8048)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E502F #312F50
analogous
#50412F #4E502F #3E502F
triadic
#4E502F #2F4E50 #502F4E
tetradic
#4E502F #2F5041 #312F50 #502F3E
square
#4E502F #2F5041 #312F50 #502F3E
split-complementary
#4E502F #2F3E50 #412F50
monochromatic
#13130B #282918 #4E502F #747746 #999D5C

Accessibility & contrast

On white

8.36
#4E502F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E502F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E502F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E502F#FFFFFF#000000##FFFFFF
##4E502F1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2D
Deuteranopia (green-blind)
#554E30
Tritanopia (blue-blind)
#524C48
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e502f;
/* rgb */ color: rgb(78, 80, 47);
/* oklch */ color: oklch(42.1% 0.050 111.4);
Tailwind
colors: {
  custom: {
    50: '#808168',
    500: '#4e502f',
    950: '#000000',
  },
}
SCSS
$custom: #4e502f;
$custom-light: #808168;
$custom-dark: #000000;
JSON
{
  "hex": "#4e502f",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 47
  },
  "hsl": {
    "h": 63.636,
    "s": 25.984,
    "l": 24.902
  },
  "oklch": {
    "l": 0.42052,
    "c": 0.05045,
    "h": 111.4
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#4E502F
secondary
#5C5A81
accent
#65C26B
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #4E502F

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

Preview Lab → · Contrast checker → · Palette generator →

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