#5D6511#5D6511

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

Color values

HEX#5D6511
RGBrgb(93, 101, 17)
HSLhsl(66, 71%, 23%)
HSVhsv(66, 83%, 40%)
CMYKcmyk(7.9%, 0%, 83.2%, 60.4%)
CIE-LABlab(40.70, -14.23, 42.50)
CIE-LCHlch(40.70, 44.82, 108.51°)
OKLaboklab(48.39% -0.0437 0.0927)
OKLCHoklch(48.39% 0.102 115.2)
XYZxyz(9.2693, 11.6751, 2.2954)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6511 #191165
analogous
#654311 #5D6511 #336511
triadic
#5D6511 #115D65 #65115D
tetradic
#5D6511 #116543 #191165 #651133
square
#5D6511 #116543 #191165 #651133
split-complementary
#5D6511 #113365 #431165
monochromatic
#181A04 #2D3108 #5D6511 #8D991A #BDCE23

Accessibility & contrast

On white

6.30
#5D6511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D6511
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6511#FFFFFF#000000##FFFFFF
##5D65111.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d6511;
/* rgb */ color: rgb(93, 101, 17);
/* oklch */ color: oklch(48.4% 0.102 115.2);
Tailwind
colors: {
  custom: {
    50: '#8e9058',
    500: '#5d6511',
    950: '#000000',
  },
}
SCSS
$custom: #5d6511;
$custom-light: #8e9058;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6511",
  "rgb": {
    "r": 93,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 65.714,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48389,
    "c": 0.10248,
    "h": 115.2
  },
  "luminance": 0.11675
}

Semantic roles & 50–950 ramp

primary
#5D6511
secondary
#3F359D
accent
#3AEE4B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5D6511

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

Preview Lab → · Contrast checker → · Palette generator →

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