#5E5116#5E5116

#5E5116 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.6% C 0.078 H 96.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5E5116
RGBrgb(94, 81, 22)
HSLhsl(49, 62%, 23%)
HSVhsv(49, 77%, 37%)
CMYKcmyk(0%, 13.8%, 76.6%, 63.1%)
CIE-LABlab(34.65, -1.92, 34.91)
CIE-LCHlch(34.65, 34.96, 93.15°)
OKLaboklab(43.6% -0.0087 0.0776)
OKLCHoklch(43.6% 0.078 96.4)
XYZxyz(7.7037, 8.3229, 1.9596)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5116 #16235E
analogous
#5E2D16 #5E5116 #475E16
triadic
#5E5116 #165E51 #51165E
tetradic
#5E5116 #165E2D #16235E #5E1647
square
#5E5116 #165E2D #16235E #5E1647
split-complementary
#5E5116 #16475E #2D165E
monochromatic
#191506 #2C260A #5E5116 #907C22 #C1A62D

Accessibility & contrast

On white

7.88
#5E5116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5E5116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5116
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5116#FFFFFF#000000##FFFFFF
##5E51161.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0D
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#664A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e5116;
/* rgb */ color: rgb(94, 81, 22);
/* oklch */ color: oklch(43.6% 0.078 96.4);
Tailwind
colors: {
  custom: {
    50: '#8e8157',
    500: '#5e5116',
    950: '#000000',
  },
}
SCSS
$custom: #5e5116;
$custom-light: #8e8157;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5116",
  "rgb": {
    "r": 94,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 49.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43598,
    "c": 0.07808,
    "h": 96.4
  },
  "luminance": 0.08322
}

Semantic roles & 50–950 ramp

primary
#5E5116
secondary
#3B4B95
accent
#60E543
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5116

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

Preview Lab → · Contrast checker → · Palette generator →

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