#5D6310#5D6310

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

Color values

HEX#5D6310
RGBrgb(93, 99, 16)
HSLhsl(64, 72%, 23%)
HSVhsv(64, 84%, 39%)
CMYKcmyk(6.1%, 0%, 83.8%, 61.2%)
CIE-LABlab(40.06, -13.16, 42.26)
CIE-LCHlch(40.06, 44.26, 107.30°)
OKLaboklab(47.88% -0.0408 0.092)
OKLCHoklch(47.88% 0.101 113.9)
XYZxyz(9.0699, 11.2884, 2.1912)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6310 #161063
analogous
#633F10 #5D6310 #346310
triadic
#5D6310 #105D63 #63105D
tetradic
#5D6310 #10633F #161063 #631034
square
#5D6310 #10633F #161063 #631034
split-complementary
#5D6310 #103463 #3F1063
monochromatic
#191A04 #2C2E07 #5D6310 #8E9819 #C0CC21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D6310#FFFFFF#000000##FFFFFF
##5D63101.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)
#6B5F18
Tritanopia (blue-blind)
#645D54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d6310;
/* rgb */ color: rgb(93, 99, 16);
/* oklch */ color: oklch(47.9% 0.101 113.9);
Tailwind
colors: {
  custom: {
    50: '#8e8f57',
    500: '#5d6310',
    950: '#000000',
  },
}
SCSS
$custom: #5d6310;
$custom-light: #8e8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6310",
  "rgb": {
    "r": 93,
    "g": 99,
    "b": 16
  },
  "hsl": {
    "h": 64.337,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.47879,
    "c": 0.10065,
    "h": 113.9
  },
  "luminance": 0.11288
}

Semantic roles & 50–950 ramp

primary
#5D6310
secondary
#3B339C
accent
#39EF46
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5D6310

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

Preview Lab → · Contrast checker → · Palette generator →

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