#4E580D#4E580D

#4E580D is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.7% C 0.095 H 117.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4E580D
RGBrgb(78, 88, 13)
HSLhsl(68, 74%, 20%)
HSVhsv(68, 85%, 35%)
CMYKcmyk(11.4%, 0%, 85.2%, 65.5%)
CIE-LABlab(35.26, -14.35, 38.46)
CIE-LCHlch(35.26, 41.05, 110.46°)
OKLaboklab(43.7% -0.0435 0.0839)
OKLCHoklch(43.7% 0.095 117.4)
XYZxyz(6.7044, 8.6283, 1.6929)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E580D #170D58
analogous
#583D0D #4E580D #29580D
triadic
#4E580D #0D4E58 #580D4E
tetradic
#4E580D #0D583D #170D58 #580D29
square
#4E580D #0D583D #170D58 #580D29
split-complementary
#4E580D #0D2958 #3D0D58
monochromatic
#181B04 #1F2305 #4E580D #7D8D15 #ADC31D

Accessibility & contrast

On white

7.70
#4E580D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E580D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E580D
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E580D#FFFFFF#000000##FFFFFF
##4E580D1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#5E5314
Tritanopia (blue-blind)
#53534A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e580d;
/* rgb */ color: rgb(78, 88, 13);
/* oklch */ color: oklch(43.7% 0.095 117.4);
Tailwind
colors: {
  custom: {
    50: '#828754',
    500: '#4e580d',
    950: '#000000',
  },
}
SCSS
$custom: #4e580d;
$custom-light: #828754;
$custom-dark: #000000;
JSON
{
  "hex": "#4e580d",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 68,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.43698,
    "c": 0.09452,
    "h": 117.4
  },
  "luminance": 0.08628
}

Semantic roles & 50–950 ramp

primary
#4E580D
secondary
#3C2E93
accent
#37F150
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E580D

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

Preview Lab → · Contrast checker → · Palette generator →

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