#4E4F21#4E4F21

#4E4F21 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.6% C 0.066 H 110.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4E4F21
RGBrgb(78, 79, 33)
HSLhsl(61, 41%, 22%)
HSVhsv(61, 58%, 31%)
CMYKcmyk(1.3%, 0%, 58.2%, 69%)
CIE-LABlab(32.53, -7.76, 26.64)
CIE-LCHlch(32.53, 27.75, 106.25°)
OKLaboklab(41.57% -0.0228 0.0623)
OKLCHoklch(41.57% 0.066 110.1)
XYZxyz(6.2125, 7.3216, 2.5245)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F21 #22214F
analogous
#4F3921 #4E4F21 #374F21
triadic
#4E4F21 #214E4F #4F214E
tetradic
#4E4F21 #214F39 #22214F #4F2137
square
#4E4F21 #214F39 #22214F #4F2137
split-complementary
#4E4F21 #21374F #39214F
monochromatic
#151609 #23240F #4E4F21 #797A33 #A3A545

Accessibility & contrast

On white

8.52
#4E4F21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4E4F21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F21
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F21#FFFFFF#000000##FFFFFF
##4E4F211.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1C
Deuteranopia (green-blind)
#554D23
Tritanopia (blue-blind)
#534A45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4f21;
/* rgb */ color: rgb(78, 79, 33);
/* oklch */ color: oklch(41.6% 0.066 110.1);
Tailwind
colors: {
  custom: {
    50: '#81805e',
    500: '#4e4f21',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f21;
$custom-light: #81805e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f21",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 33
  },
  "hsl": {
    "h": 61.304,
    "s": 41.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41565,
    "c": 0.06638,
    "h": 110.1
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#4E4F21
secondary
#4A4983
accent
#57D15A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E4F21

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

Preview Lab → · Contrast checker → · Palette generator →

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