#5E5016#5E5016

#5E5016 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.4% C 0.077 H 95.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#5E5016
RGBrgb(94, 80, 22)
HSLhsl(48, 62%, 23%)
HSVhsv(48, 77%, 37%)
CMYKcmyk(0%, 14.9%, 76.6%, 63.1%)
CIE-LABlab(34.35, -1.31, 34.61)
CIE-LCHlch(34.35, 34.64, 92.18°)
OKLaboklab(43.36% -0.007 0.077)
OKLCHoklch(43.36% 0.077 95.2)
XYZxyz(7.6300, 8.1753, 1.9350)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5016 #16245E
analogous
#5E2C16 #5E5016 #485E16
triadic
#5E5016 #165E50 #50165E
tetradic
#5E5016 #165E2C #16245E #5E1648
square
#5E5016 #165E2C #16245E #5E1648
split-complementary
#5E5016 #16485E #2C165E
monochromatic
#191506 #2C260A #5E5016 #907A22 #C1A42D

Accessibility & contrast

On white

7.97
#5E5016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5E5016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5016
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5016#FFFFFF#000000##FFFFFF
##5E50161.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)
#594E0D
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#664944
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e5016;
/* rgb */ color: rgb(94, 80, 22);
/* oklch */ color: oklch(43.4% 0.077 95.2);
Tailwind
colors: {
  custom: {
    50: '#8e8057',
    500: '#5e5016',
    950: '#000000',
  },
}
SCSS
$custom: #5e5016;
$custom-light: #8e8057;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5016",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 48.333,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4336,
    "c": 0.07728,
    "h": 95.2
  },
  "luminance": 0.08175
}

Semantic roles & 50–950 ramp

primary
#5E5016
secondary
#3B4C95
accent
#62E543
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5016

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

Preview Lab → · Contrast checker → · Palette generator →

#5E5016 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva