#5E5316#5E5316

#5E5316 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 44.1% C 0.080 H 98.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5E5316
RGBrgb(94, 83, 22)
HSLhsl(51, 62%, 23%)
HSVhsv(51, 77%, 37%)
CMYKcmyk(0%, 11.7%, 76.6%, 63.1%)
CIE-LABlab(35.25, -3.12, 35.51)
CIE-LCHlch(35.25, 35.64, 95.03°)
OKLaboklab(44.08% -0.0121 0.0789)
OKLCHoklch(44.08% 0.08 98.7)
XYZxyz(7.8545, 8.6245, 2.0099)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5316 #16215E
analogous
#5E2F16 #5E5316 #455E16
triadic
#5E5316 #165E53 #53165E
tetradic
#5E5316 #165E2F #16215E #5E1645
square
#5E5316 #165E2F #16215E #5E1645
split-complementary
#5E5316 #16455E #2F165E
monochromatic
#191606 #2C270A #5E5316 #907F22 #C1AB2D

Accessibility & contrast

On white

7.71
#5E5316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5E5316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5316
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5316#FFFFFF#000000##FFFFFF
##5E53161.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510C
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#664C47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e5316;
/* rgb */ color: rgb(94, 83, 22);
/* oklch */ color: oklch(44.1% 0.080 98.7);
Tailwind
colors: {
  custom: {
    50: '#8e8358',
    500: '#5e5316',
    950: '#000000',
  },
}
SCSS
$custom: #5e5316;
$custom-light: #8e8358;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5316",
  "rgb": {
    "r": 94,
    "g": 83,
    "b": 22
  },
  "hsl": {
    "h": 50.833,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44077,
    "c": 0.07979,
    "h": 98.7
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#5E5316
secondary
#3B4995
accent
#5BE543
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5316

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

Preview Lab → · Contrast checker → · Palette generator →

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