#4E5215#4E5215

#4E5215 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#4E5215
RGBrgb(78, 82, 21)
HSLhsl(64, 59%, 20%)
HSVhsv(64, 74%, 32%)
CMYKcmyk(4.9%, 0%, 74.4%, 67.8%)
CIE-LABlab(33.37, -10.50, 33.56)
CIE-LCHlch(33.37, 35.16, 107.38°)
OKLaboklab(42.2% -0.032 0.0751)
OKLCHoklch(42.2% 0.082 113.1)
XYZxyz(6.2947, 7.7086, 1.8656)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5215 #191552
analogous
#523715 #4E5215 #305215
triadic
#4E5215 #154E52 #52154E
tetradic
#4E5215 #155237 #191552 #521530
square
#4E5215 #155237 #191552 #521530
split-complementary
#4E5215 #153052 #371552
monochromatic
#171806 #202109 #4E5215 #7C8321 #ABB32E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5215#FFFFFF#000000##FFFFFF
##4E52151.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)
#594E0C
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#544D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e5215;
/* rgb */ color: rgb(78, 82, 21);
/* oklch */ color: oklch(42.2% 0.082 113.1);
Tailwind
colors: {
  custom: {
    50: '#828257',
    500: '#4e5215',
    950: '#000000',
  },
}
SCSS
$custom: #4e5215;
$custom-light: #828257;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5215",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 63.934,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42198,
    "c": 0.08167,
    "h": 113.1
  },
  "luminance": 0.07708
}

Semantic roles & 50–950 ramp

primary
#4E5215
secondary
#3E398A
accent
#45E250
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5215

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

Preview Lab → · Contrast checker → · Palette generator →

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