#5E6317#5E6317

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

Color values

HEX#5E6317
RGBrgb(94, 99, 23)
HSLhsl(64, 62%, 24%)
HSVhsv(64, 77%, 39%)
CMYKcmyk(5.1%, 0%, 76.8%, 61.2%)
CIE-LABlab(40.19, -12.35, 39.90)
CIE-LCHlch(40.19, 41.77, 107.20°)
OKLaboklab(48.02% -0.038 0.0883)
OKLCHoklch(48.02% 0.096 113.3)
XYZxyz(9.2329, 11.3654, 2.5178)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6317 #1C1763
analogous
#634217 #5E6317 #386317
triadic
#5E6317 #175E63 #63175E
tetradic
#5E6317 #176342 #1C1763 #631738
square
#5E6317 #176342 #1C1763 #631738
split-complementary
#5E6317 #173863 #421763
monochromatic
#181906 #2F310B #5E6317 #8D9523 #BCC62E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E6317#FFFFFF#000000##FFFFFF
##5E63171.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)
#6B5E08
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#655D54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e6317;
/* rgb */ color: rgb(94, 99, 23);
/* oklch */ color: oklch(48.0% 0.096 113.3);
Tailwind
colors: {
  custom: {
    50: '#8e8f5a',
    500: '#5e6317',
    950: '#000000',
  },
}
SCSS
$custom: #5e6317;
$custom-light: #8e8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6317",
  "rgb": {
    "r": 94,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 63.947,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48015,
    "c": 0.09615,
    "h": 113.3
  },
  "luminance": 0.11365
}

Semantic roles & 50–950 ramp

primary
#5E6317
secondary
#423C9A
accent
#42E54D
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6317

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

Preview Lab → · Contrast checker → · Palette generator →

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