#5E6316#5E6316

#5E6316 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.0% C 0.097 H 113.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5E6316
RGBrgb(94, 99, 22)
HSLhsl(64, 64%, 24%)
HSVhsv(64, 78%, 39%)
CMYKcmyk(5.1%, 0%, 77.8%, 61.2%)
CIE-LABlab(40.18, -12.40, 40.28)
CIE-LCHlch(40.18, 42.15, 107.11°)
OKLaboklab(48.01% -0.0382 0.089)
OKLCHoklch(48.01% 0.097 113.2)
XYZxyz(9.2230, 11.3615, 2.4660)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6316 #1B1663
analogous
#634116 #5E6316 #376316
triadic
#5E6316 #165E63 #63165E
tetradic
#5E6316 #166341 #1B1663 #631637
square
#5E6316 #166341 #1B1663 #631637
split-complementary
#5E6316 #163763 #411663
monochromatic
#181906 #2E310B #5E6316 #8E9521 #BDC72C

Accessibility & contrast

On white

6.42
#5E6316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5E6316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6316
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6316#FFFFFF#000000##FFFFFF
##5E63161.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E07
Deuteranopia (green-blind)
#6B5F1C
Tritanopia (blue-blind)
#655D54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e6316;
/* rgb */ color: rgb(94, 99, 22);
/* oklch */ color: oklch(48.0% 0.097 113.2);
Tailwind
colors: {
  custom: {
    50: '#8e8f5a',
    500: '#5e6316',
    950: '#000000',
  },
}
SCSS
$custom: #5e6316;
$custom-light: #8e8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6316",
  "rgb": {
    "r": 94,
    "g": 99,
    "b": 22
  },
  "hsl": {
    "h": 63.896,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48008,
    "c": 0.09681,
    "h": 113.2
  },
  "luminance": 0.11361
}

Semantic roles & 50–950 ramp

primary
#5E6316
secondary
#413B9A
accent
#41E74C
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6316

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

Preview Lab → · Contrast checker → · Palette generator →

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