#4E5214#4E5214

#4E5214 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.2% C 0.082 H 113.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4E5214
RGBrgb(78, 82, 20)
HSLhsl(64, 61%, 20%)
HSVhsv(64, 76%, 32%)
CMYKcmyk(4.9%, 0%, 75.6%, 67.8%)
CIE-LABlab(33.36, -10.57, 33.99)
CIE-LCHlch(33.36, 35.59, 107.27°)
OKLaboklab(42.19% -0.0323 0.0759)
OKLCHoklch(42.19% 0.082 113.1)
XYZxyz(6.2856, 7.7049, 1.8178)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5214 #181452
analogous
#523714 #4E5214 #2F5214
triadic
#4E5214 #144E52 #52144E
tetradic
#4E5214 #145237 #181452 #52142F
square
#4E5214 #145237 #181452 #52142F
split-complementary
#4E5214 #142F52 #371452
monochromatic
#171906 #1F2108 #4E5214 #7D8320 #ACB42C

Accessibility & contrast

On white

8.26
#4E5214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E5214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5214
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5214#FFFFFF#000000##FFFFFF
##4E52141.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0A
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#544D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e5214;
/* rgb */ color: rgb(78, 82, 20);
/* oklch */ color: oklch(42.2% 0.082 113.1);
Tailwind
colors: {
  custom: {
    50: '#828256',
    500: '#4e5214',
    950: '#000000',
  },
}
SCSS
$custom: #4e5214;
$custom-light: #828256;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5214",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 63.871,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.42189,
    "c": 0.08245,
    "h": 113.1
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#4E5214
secondary
#3D388A
accent
#44E44E
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5214

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

Preview Lab → · Contrast checker → · Palette generator →

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