#4E5121#4E5121

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

Color values

HEX#4E5121
RGBrgb(78, 81, 33)
HSLhsl(64, 42%, 22%)
HSVhsv(64, 59%, 32%)
CMYKcmyk(3.7%, 0%, 59.3%, 68.2%)
CIE-LABlab(33.17, -8.95, 27.38)
CIE-LCHlch(33.17, 28.80, 108.10°)
OKLaboklab(42.08% -0.0262 0.0639)
OKLCHoklch(42.08% 0.069 112.3)
XYZxyz(6.3590, 7.6145, 2.5733)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5121 #242151
analogous
#513C21 #4E5121 #365121
triadic
#4E5121 #214E51 #51214E
tetradic
#4E5121 #21513C #242151 #512136
square
#4E5121 #21513C #242151 #512136
split-complementary
#4E5121 #213651 #3C2151
monochromatic
#151609 #24260F #4E5121 #787C33 #A2A844

Accessibility & contrast

On white

8.32
#4E5121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5121
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5121#FFFFFF#000000##FFFFFF
##4E51211.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e5121;
/* rgb */ color: rgb(78, 81, 33);
/* oklch */ color: oklch(42.1% 0.069 112.3);
Tailwind
colors: {
  custom: {
    50: '#81815e',
    500: '#4e5121',
    950: '#000000',
  },
}
SCSS
$custom: #4e5121;
$custom-light: #81815e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5121",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 33
  },
  "hsl": {
    "h": 63.75,
    "s": 42.105,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42075,
    "c": 0.06908,
    "h": 112.3
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#4E5121
secondary
#4C4985
accent
#56D25E
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E5121

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

Preview Lab → · Contrast checker → · Palette generator →

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