#4E5211#4E5211

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

Color values

HEX#4E5211
RGBrgb(78, 82, 17)
HSLhsl(64, 66%, 19%)
HSVhsv(64, 79%, 32%)
CMYKcmyk(4.9%, 0%, 79.3%, 67.8%)
CIE-LABlab(33.34, -10.74, 35.22)
CIE-LCHlch(33.34, 36.82, 106.96°)
OKLaboklab(42.17% -0.0331 0.0779)
OKLCHoklch(42.17% 0.085 113)
XYZxyz(6.2605, 7.6949, 1.6857)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5211 #151152
analogous
#523611 #4E5211 #2E5211
triadic
#4E5211 #114E52 #52114E
tetradic
#4E5211 #115236 #151152 #52112E
square
#4E5211 #115236 #151152 #52112E
split-complementary
#4E5211 #112E52 #361152
monochromatic
#181905 #1E1F06 #4E5211 #7E851C #AEB726

Accessibility & contrast

On white

8.27
#4E5211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5211
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5211#FFFFFF#000000##FFFFFF
##4E52111.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e5211;
/* rgb */ color: rgb(78, 82, 17);
/* oklch */ color: oklch(42.2% 0.085 113.0);
Tailwind
colors: {
  custom: {
    50: '#828255',
    500: '#4e5211',
    950: '#000000',
  },
}
SCSS
$custom: #4e5211;
$custom-light: #828255;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5211",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 63.692,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42165,
    "c": 0.08462,
    "h": 113
  },
  "luminance": 0.07695
}

Semantic roles & 50–950 ramp

primary
#4E5211
secondary
#39348B
accent
#3FE94A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5211

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

Preview Lab → · Contrast checker → · Palette generator →

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