#4E5428#4E5428

#4E5428 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 42.9% C 0.065 H 115.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4E5428
RGBrgb(78, 84, 40)
HSLhsl(68, 35%, 24%)
HSVhsv(68, 52%, 33%)
CMYKcmyk(7.1%, 0%, 52.4%, 67.1%)
CIE-LABlab(34.22, -9.96, 24.73)
CIE-LCHlch(34.22, 26.66, 111.94°)
OKLaboklab(42.95% -0.0282 0.0589)
OKLCHoklch(42.95% 0.065 115.6)
XYZxyz(6.6953, 8.1136, 3.2205)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5428 #2E2854
analogous
#544428 #4E5428 #385428
triadic
#4E5428 #284E54 #54284E
tetradic
#4E5428 #285444 #2E2854 #542838
square
#4E5428 #285444 #2E2854 #542838
split-complementary
#4E5428 #283854 #442854
monochromatic
#13150A #282B14 #4E5428 #747D3C #9BA74F

Accessibility & contrast

On white

8.01
#4E5428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4E5428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5428
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5428#FFFFFF#000000##FFFFFF
##4E54281.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595024
Deuteranopia (green-blind)
#59512A
Tritanopia (blue-blind)
#52504A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e5428;
/* rgb */ color: rgb(78, 84, 40);
/* oklch */ color: oklch(42.9% 0.065 115.6);
Tailwind
colors: {
  custom: {
    50: '#818463',
    500: '#4e5428',
    950: '#000000',
  },
}
SCSS
$custom: #4e5428;
$custom-light: #818463;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5428",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 40
  },
  "hsl": {
    "h": 68.182,
    "s": 35.484,
    "l": 24.314
  },
  "oklch": {
    "l": 0.42945,
    "c": 0.06535,
    "h": 115.6
  },
  "luminance": 0.08114
}

Semantic roles & 50–950 ramp

primary
#4E5428
secondary
#585187
accent
#5CCC6B
background
#F7F8F5
surface
#EEEFEA
border
#C9CAC6
text
#0A0A05
muted
#7C7C79

Preview Lab

Preview with #4E5428

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

Preview Lab → · Contrast checker → · Palette generator →

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