#4E5120#4E5120

#4E5120 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.1% C 0.070 H 112.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4E5120
RGBrgb(78, 81, 32)
HSLhsl(64, 43%, 22%)
HSVhsv(64, 60%, 32%)
CMYKcmyk(3.7%, 0%, 60.5%, 68.2%)
CIE-LABlab(33.15, -9.04, 27.90)
CIE-LCHlch(33.15, 29.33, 107.96°)
OKLaboklab(42.06% -0.0266 0.0649)
OKLCHoklch(42.06% 0.07 112.2)
XYZxyz(6.3452, 7.6090, 2.5006)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5120 #232051
analogous
#513B20 #4E5120 #365120
triadic
#4E5120 #204E51 #51204E
tetradic
#4E5120 #20513B #232051 #512036
square
#4E5120 #20513B #232051 #512036
split-complementary
#4E5120 #203651 #3B2051
monochromatic
#151609 #24250F #4E5120 #787D31 #A2A943

Accessibility & contrast

On white

8.33
#4E5120 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E5120 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5120
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5120#FFFFFF#000000##FFFFFF
##4E51201.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D1B
Deuteranopia (green-blind)
#574F23
Tritanopia (blue-blind)
#534C46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e5120;
/* rgb */ color: rgb(78, 81, 32);
/* oklch */ color: oklch(42.1% 0.070 112.2);
Tailwind
colors: {
  custom: {
    50: '#81815d',
    500: '#4e5120',
    950: '#000000',
  },
}
SCSS
$custom: #4e5120;
$custom-light: #81815d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5120",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 32
  },
  "hsl": {
    "h": 63.673,
    "s": 43.363,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42062,
    "c": 0.07015,
    "h": 112.2
  },
  "luminance": 0.07609
}

Semantic roles & 50–950 ramp

primary
#4E5120
secondary
#4B4785
accent
#55D35C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E5120

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

Preview Lab → · Contrast checker → · Palette generator →

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