#4E5517#4E5517

#4E5517 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.0% C 0.084 H 115.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4E5517
RGBrgb(78, 85, 23)
HSLhsl(67, 57%, 21%)
HSVhsv(67, 73%, 33%)
CMYKcmyk(8.2%, 0%, 72.9%, 66.7%)
CIE-LABlab(34.35, -12.09, 33.66)
CIE-LCHlch(34.35, 35.76, 109.76°)
OKLaboklab(42.99% -0.0362 0.0757)
OKLCHoklch(42.99% 0.084 115.6)
XYZxyz(6.5452, 8.1787, 2.0443)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5517 #1E1755
analogous
#553D17 #4E5517 #2F5517
triadic
#4E5517 #174E55 #55174E
tetradic
#4E5517 #17553D #1E1755 #55172F
square
#4E5517 #17553D #1E1755 #55172F
split-complementary
#4E5517 #172F55 #3D1755
monochromatic
#161807 #22250A #4E5517 #7A8524 #A6B531

Accessibility & contrast

On white

7.97
#4E5517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4E5517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5517
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5517#FFFFFF#000000##FFFFFF
##4E55171.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500E
Deuteranopia (green-blind)
#5B511C
Tritanopia (blue-blind)
#535049
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e5517;
/* rgb */ color: rgb(78, 85, 23);
/* oklch */ color: oklch(43.0% 0.084 115.6);
Tailwind
colors: {
  custom: {
    50: '#828458',
    500: '#4e5517',
    950: '#000000',
  },
}
SCSS
$custom: #4e5517;
$custom-light: #828458;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5517",
  "rgb": {
    "r": 78,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 66.774,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42992,
    "c": 0.08394,
    "h": 115.6
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#4E5517
secondary
#453C8C
accent
#47E158
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5517

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

Preview Lab → · Contrast checker → · Palette generator →

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