#5D6315#5D6315

#5D6315 is a mid, moderate yellow. Relative luminance 0.113; OKLCH L 47.9% C 0.098 H 114.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5D6315
RGBrgb(93, 99, 21)
HSLhsl(65, 65%, 24%)
HSVhsv(65, 79%, 39%)
CMYKcmyk(6.1%, 0%, 78.8%, 61.2%)
CIE-LABlab(40.09, -12.93, 40.54)
CIE-LCHlch(40.09, 42.55, 107.69°)
OKLaboklab(47.91% -0.0397 0.0893)
OKLCHoklch(47.91% 0.098 114)
XYZxyz(9.1117, 11.3052, 2.4114)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6315 #1B1563
analogous
#634215 #5D6315 #366315
triadic
#5D6315 #155D63 #63155D
tetradic
#5D6315 #156342 #1B1563 #631536
square
#5D6315 #156342 #1B1563 #631536
split-complementary
#5D6315 #153663 #421563
monochromatic
#181905 #2E310A #5D6315 #8C9520 #BCC82A

Accessibility & contrast

On white

6.44
#5D6315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5D6315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6315
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6315#FFFFFF#000000##FFFFFF
##5D63151.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E05
Deuteranopia (green-blind)
#6B5F1C
Tritanopia (blue-blind)
#645D54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d6315;
/* rgb */ color: rgb(93, 99, 21);
/* oklch */ color: oklch(47.9% 0.098 114.0);
Tailwind
colors: {
  custom: {
    50: '#8e8f59',
    500: '#5d6315',
    950: '#000000',
  },
}
SCSS
$custom: #5d6315;
$custom-light: #8e8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6315",
  "rgb": {
    "r": 93,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 64.615,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4791,
    "c": 0.09777,
    "h": 114
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#5D6315
secondary
#413A9A
accent
#40E84D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5D6315

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

Preview Lab → · Contrast checker → · Palette generator →

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