#4E5028#4E5028

#4E5028 is a dark, muted yellow. Relative luminance 0.075; OKLCH L 41.9% C 0.060 H 111.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4E5028
RGBrgb(78, 80, 40)
HSLhsl(63, 33%, 24%)
HSVhsv(63, 50%, 31%)
CMYKcmyk(2.5%, 0%, 50%, 68.6%)
CIE-LABlab(32.94, -7.61, 23.18)
CIE-LCHlch(32.94, 24.40, 108.17°)
OKLaboklab(41.93% -0.0215 0.0555)
OKLCHoklch(41.93% 0.06 111.2)
XYZxyz(6.3937, 7.5103, 3.1199)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5028 #2A2850
analogous
#503E28 #4E5028 #3A5028
triadic
#4E5028 #284E50 #50284E
tetradic
#4E5028 #28503E #2A2850 #50283A
square
#4E5028 #28503E #2A2850 #50283A
split-complementary
#4E5028 #283A50 #3E2850
monochromatic
#14140A #262714 #4E5028 #76793C #9EA251

Accessibility & contrast

On white

8.39
#4E5028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E5028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5028
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5028#FFFFFF#000000##FFFFFF
##4E50281.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D25
Deuteranopia (green-blind)
#564E2A
Tritanopia (blue-blind)
#534C47
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e5028;
/* rgb */ color: rgb(78, 80, 40);
/* oklch */ color: oklch(41.9% 0.060 111.2);
Tailwind
colors: {
  custom: {
    50: '#808163',
    500: '#4e5028',
    950: '#000000',
  },
}
SCSS
$custom: #4e5028;
$custom-light: #808163;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5028",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 40
  },
  "hsl": {
    "h": 63,
    "s": 33.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.41926,
    "c": 0.05954,
    "h": 111.2
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#4E5028
secondary
#545183
accent
#5EC964
background
#F7F7F5
surface
#EEEEEA
border
#C9C9C6
text
#0A0A05
muted
#7C7C79

Preview Lab

Preview with #4E5028

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

Preview Lab → · Contrast checker → · Palette generator →

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