#4E520F#4E520F

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

Color values

HEX#4E520F
RGBrgb(78, 82, 15)
HSLhsl(64, 69%, 19%)
HSVhsv(64, 82%, 32%)
CMYKcmyk(4.9%, 0%, 81.7%, 67.8%)
CIE-LABlab(33.33, -10.85, 35.99)
CIE-LCHlch(33.33, 37.59, 106.77°)
OKLaboklab(42.15% -0.0336 0.0791)
OKLCHoklch(42.15% 0.086 113)
XYZxyz(6.2456, 7.6889, 1.6069)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E520F #130F52
analogous
#52350F #4E520F #2D520F
triadic
#4E520F #0F4E52 #520F4E
tetradic
#4E520F #0F5235 #130F52 #520F2D
square
#4E520F #0F5235 #130F52 #520F2D
split-complementary
#4E520F #0F2D52 #350F52
monochromatic
#191A05 #1D1E06 #4E520F #7F8618 #B0B922

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E520F#FFFFFF#000000##FFFFFF
##4E520F1.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)
#594E02
Deuteranopia (green-blind)
#594F15
Tritanopia (blue-blind)
#544D45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e520f;
/* rgb */ color: rgb(78, 82, 15);
/* oklch */ color: oklch(42.2% 0.086 113.0);
Tailwind
colors: {
  custom: {
    50: '#828254',
    500: '#4e520f',
    950: '#000000',
  },
}
SCSS
$custom: #4e520f;
$custom-light: #828254;
$custom-dark: #000000;
JSON
{
  "hex": "#4e520f",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 63.582,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42151,
    "c": 0.08592,
    "h": 113
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#4E520F
secondary
#36318C
accent
#3CEC46
background
#F8F7F5
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E520F

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

Preview Lab → · Contrast checker → · Palette generator →

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