#5D6715#5D6715

#5D6715 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 48.9% C 0.103 H 116.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5D6715
RGBrgb(93, 103, 21)
HSLhsl(67, 66%, 24%)
HSVhsv(67, 80%, 40%)
CMYKcmyk(9.7%, 0%, 79.6%, 59.6%)
CIE-LABlab(41.35, -15.14, 41.72)
CIE-LCHlch(41.35, 44.38, 109.94°)
OKLaboklab(48.92% -0.0458 0.0918)
OKLCHoklch(48.92% 0.103 116.5)
XYZxyz(9.5001, 12.0819, 2.5409)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6715 #1F1567
analogous
#674815 #5D6715 #346715
triadic
#5D6715 #155D67 #67155D
tetradic
#5D6715 #156748 #1F1567 #671534
square
#5D6715 #156748 #1F1567 #671534
split-complementary
#5D6715 #153467 #481567
monochromatic
#171905 #2F340B #5D6715 #8B9A1F #B9CD2A

Accessibility & contrast

On white

6.15
#5D6715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5D6715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6715
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6715#FFFFFF#000000##FFFFFF
##5D67151.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6103
Deuteranopia (green-blind)
#6E621C
Tritanopia (blue-blind)
#636158
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d6715;
/* rgb */ color: rgb(93, 103, 21);
/* oklch */ color: oklch(48.9% 0.103 116.5);
Tailwind
colors: {
  custom: {
    50: '#8e925a',
    500: '#5d6715',
    950: '#000000',
  },
}
SCSS
$custom: #5d6715;
$custom-light: #8e925a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6715",
  "rgb": {
    "r": 93,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 67.317,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48918,
    "c": 0.10263,
    "h": 116.5
  },
  "luminance": 0.12082
}

Semantic roles & 50–950 ramp

primary
#5D6715
secondary
#463A9E
accent
#3FE954
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0D04
muted
#7D7D79

Preview Lab

Preview with #5D6715

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

Preview Lab → · Contrast checker → · Palette generator →

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