#4E5020#4E5020

#4E5020 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.069 H 111.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4E5020
RGBrgb(78, 80, 32)
HSLhsl(63, 43%, 22%)
HSVhsv(63, 60%, 31%)
CMYKcmyk(2.5%, 0%, 60%, 68.6%)
CIE-LABlab(32.84, -8.45, 27.54)
CIE-LCHlch(32.84, 28.80, 107.06°)
OKLaboklab(41.81% -0.0249 0.0641)
OKLCHoklch(41.81% 0.069 111.2)
XYZxyz(6.2714, 7.4614, 2.4761)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5020 #222050
analogous
#503A20 #4E5020 #365020
triadic
#4E5020 #204E50 #50204E
tetradic
#4E5020 #20503A #222050 #502036
square
#4E5020 #20503A #222050 #502036
split-complementary
#4E5020 #203650 #3A2050
monochromatic
#151609 #23240F #4E5020 #797C31 #A3A743

Accessibility & contrast

On white

8.43
#4E5020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E5020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5020
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5020#FFFFFF#000000##FFFFFF
##4E50201.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C1B
Deuteranopia (green-blind)
#564E23
Tritanopia (blue-blind)
#534B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e5020;
/* rgb */ color: rgb(78, 80, 32);
/* oklch */ color: oklch(41.8% 0.069 111.2);
Tailwind
colors: {
  custom: {
    50: '#81815d',
    500: '#4e5020',
    950: '#000000',
  },
}
SCSS
$custom: #4e5020;
$custom-light: #81815d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5020",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 32
  },
  "hsl": {
    "h": 62.5,
    "s": 42.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41806,
    "c": 0.0688,
    "h": 111.2
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#4E5020
secondary
#4A4784
accent
#55D35A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E5020

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

Preview Lab → · Contrast checker → · Palette generator →

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