#5E6516#5E6516

#5E6516 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.5% C 0.099 H 114.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5E6516
RGBrgb(94, 101, 22)
HSLhsl(65, 64%, 24%)
HSVhsv(65, 78%, 40%)
CMYKcmyk(6.9%, 0%, 78.2%, 60.4%)
CIE-LABlab(40.81, -13.52, 40.87)
CIE-LCHlch(40.81, 43.05, 108.30°)
OKLaboklab(48.51% -0.0413 0.0902)
OKLCHoklch(48.51% 0.099 114.6)
XYZxyz(9.4149, 11.7451, 2.5300)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6516 #1D1665
analogous
#654516 #5E6516 #376516
triadic
#5E6516 #165E65 #65165E
tetradic
#5E6516 #166545 #1D1665 #651637
square
#5E6516 #166545 #1D1665 #651637
split-complementary
#5E6516 #163765 #451665
monochromatic
#171905 #2F330B #5E6516 #8D9721 #BCCA2C

Accessibility & contrast

On white

6.27
#5E6516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5E6516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6516
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6516#FFFFFF#000000##FFFFFF
##5E65161.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6006
Deuteranopia (green-blind)
#6C611D
Tritanopia (blue-blind)
#655F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e6516;
/* rgb */ color: rgb(94, 101, 22);
/* oklch */ color: oklch(48.5% 0.099 114.6);
Tailwind
colors: {
  custom: {
    50: '#8e905a',
    500: '#5e6516',
    950: '#000000',
  },
}
SCSS
$custom: #5e6516;
$custom-light: #8e905a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6516",
  "rgb": {
    "r": 94,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 65.316,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48509,
    "c": 0.09921,
    "h": 114.6
  },
  "luminance": 0.11745
}

Semantic roles & 50–950 ramp

primary
#5E6516
secondary
#443B9C
accent
#41E74F
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6516

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

Preview Lab → · Contrast checker → · Palette generator →

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