#5D6115#5D6115

#5D6115 is a mid, moderate yellow. Relative luminance 0.109; OKLCH L 47.4% C 0.095 H 112.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5D6115
RGBrgb(93, 97, 21)
HSLhsl(63, 64%, 23%)
HSVhsv(63, 78%, 38%)
CMYKcmyk(4.1%, 0%, 78.4%, 62%)
CIE-LABlab(39.46, -11.81, 39.95)
CIE-LCHlch(39.46, 41.66, 106.47°)
OKLaboklab(47.41% -0.0366 0.0881)
OKLCHoklch(47.41% 0.095 112.6)
XYZxyz(8.9245, 10.9309, 2.3491)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6115 #191561
analogous
#613F15 #5D6115 #376115
triadic
#5D6115 #155D61 #61155D
tetradic
#5D6115 #15613F #191561 #611537
square
#5D6115 #15613F #191561 #611537
split-complementary
#5D6115 #153761 #3F1561
monochromatic
#181905 #2D2F0A #5D6115 #8D9320 #BDC62B

Accessibility & contrast

On white

6.59
#5D6115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5D6115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6115
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6115#FFFFFF#000000##FFFFFF
##5D61151.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C06
Deuteranopia (green-blind)
#695E1B
Tritanopia (blue-blind)
#645B53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5d6115;
/* rgb */ color: rgb(93, 97, 21);
/* oklch */ color: oklch(47.4% 0.095 112.6);
Tailwind
colors: {
  custom: {
    50: '#8e8d59',
    500: '#5d6115',
    950: '#000000',
  },
}
SCSS
$custom: #5d6115;
$custom-light: #8e8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6115",
  "rgb": {
    "r": 93,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 63.158,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47409,
    "c": 0.09539,
    "h": 112.6
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

primary
#5D6115
secondary
#3F3A98
accent
#40E749
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5D6115

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

Preview Lab → · Contrast checker → · Palette generator →

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