#4E5116#4E5116

#4E5116 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 41.9% C 0.080 H 112.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4E5116
RGBrgb(78, 81, 22)
HSLhsl(63, 57%, 20%)
HSVhsv(63, 73%, 32%)
CMYKcmyk(3.7%, 0%, 72.8%, 68.2%)
CIE-LABlab(33.05, -9.85, 32.79)
CIE-LCHlch(33.05, 34.24, 106.72°)
OKLaboklab(41.95% -0.0301 0.0737)
OKLCHoklch(41.95% 0.08 112.2)
XYZxyz(6.2293, 7.5626, 1.8905)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5116 #191651
analogous
#513616 #4E5116 #305116
triadic
#4E5116 #164E51 #51164E
tetradic
#4E5116 #165136 #191651 #511630
square
#4E5116 #165136 #191651 #511630
split-complementary
#4E5116 #163051 #361651
monochromatic
#171807 #202109 #4E5116 #7C8123 #ABB130

Accessibility & contrast

On white

8.36
#4E5116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E5116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5116
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5116#FFFFFF#000000##FFFFFF
##4E51161.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0D
Deuteranopia (green-blind)
#584E1A
Tritanopia (blue-blind)
#544C45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e5116;
/* rgb */ color: rgb(78, 81, 22);
/* oklch */ color: oklch(41.9% 0.080 112.2);
Tailwind
colors: {
  custom: {
    50: '#828157',
    500: '#4e5116',
    950: '#000000',
  },
}
SCSS
$custom: #4e5116;
$custom-light: #828157;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5116",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 63.051,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.4195,
    "c": 0.07961,
    "h": 112.2
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#4E5116
secondary
#3E3A88
accent
#47E14F
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5116

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

Preview Lab → · Contrast checker → · Palette generator →

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