#5D6311#5D6311

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

Color values

HEX#5D6311
RGBrgb(93, 99, 17)
HSLhsl(64, 71%, 23%)
HSVhsv(64, 83%, 39%)
CMYKcmyk(6.1%, 0%, 82.8%, 61.2%)
CIE-LABlab(40.07, -13.12, 41.94)
CIE-LCHlch(40.07, 43.94, 107.37°)
OKLaboklab(47.89% -0.0406 0.0915)
OKLCHoklch(47.89% 0.1 113.9)
XYZxyz(9.0775, 11.2915, 2.2315)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6311 #171163
analogous
#634011 #5D6311 #346311
triadic
#5D6311 #115D63 #63115D
tetradic
#5D6311 #116340 #171163 #631134
square
#5D6311 #116340 #171163 #631134
split-complementary
#5D6311 #113463 #401163
monochromatic
#191A04 #2C2F08 #5D6311 #8E971A #BFCB23

Accessibility & contrast

On white

6.45
#5D6311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D6311
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6311#FFFFFF#000000##FFFFFF
##5D63111.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d6311;
/* rgb */ color: rgb(93, 99, 17);
/* oklch */ color: oklch(47.9% 0.100 113.9);
Tailwind
colors: {
  custom: {
    50: '#8e8f57',
    500: '#5d6311',
    950: '#000000',
  },
}
SCSS
$custom: #5d6311;
$custom-light: #8e8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6311",
  "rgb": {
    "r": 93,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 64.39,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47885,
    "c": 0.10011,
    "h": 113.9
  },
  "luminance": 0.11291
}

Semantic roles & 50–950 ramp

primary
#5D6311
secondary
#3C349B
accent
#3AED47
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C03
muted
#7D7D78

Preview Lab

Preview with #5D6311

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

Preview Lab → · Contrast checker → · Palette generator →

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