#5D6515#5D6515

#5D6515 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.4% C 0.100 H 115.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5D6515
RGBrgb(93, 101, 21)
HSLhsl(66, 66%, 24%)
HSVhsv(66, 79%, 40%)
CMYKcmyk(7.9%, 0%, 79.2%, 60.4%)
CIE-LABlab(40.72, -14.04, 41.13)
CIE-LCHlch(40.72, 43.46, 108.85°)
OKLaboklab(48.41% -0.0428 0.0906)
OKLCHoklch(48.41% 0.1 115.3)
XYZxyz(9.3035, 11.6888, 2.4754)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6515 #1D1565
analogous
#654515 #5D6515 #356515
triadic
#5D6515 #155D65 #65155D
tetradic
#5D6515 #156545 #1D1565 #651535
square
#5D6515 #156545 #1D1565 #651535
split-complementary
#5D6515 #153565 #451565
monochromatic
#171905 #2E320A #5D6515 #8C9820 #BACA2A

Accessibility & contrast

On white

6.29
#5D6515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5D6515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6515
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6515#FFFFFF#000000##FFFFFF
##5D65151.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F04
Deuteranopia (green-blind)
#6C611C
Tritanopia (blue-blind)
#645F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d6515;
/* rgb */ color: rgb(93, 101, 21);
/* oklch */ color: oklch(48.4% 0.100 115.3);
Tailwind
colors: {
  custom: {
    50: '#8e905a',
    500: '#5d6515',
    950: '#000000',
  },
}
SCSS
$custom: #5d6515;
$custom-light: #8e905a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6515",
  "rgb": {
    "r": 93,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 66,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.10019,
    "h": 115.3
  },
  "luminance": 0.11689
}

Semantic roles & 50–950 ramp

primary
#5D6515
secondary
#443A9C
accent
#3FE950
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5D6515

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

Preview Lab → · Contrast checker → · Palette generator →

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