#5D681F#5D681F

#5D681F is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.3% C 0.097 H 117.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5D681F
RGBrgb(93, 104, 31)
HSLhsl(69, 54%, 26%)
HSVhsv(69, 70%, 41%)
CMYKcmyk(10.6%, 0%, 70.2%, 59.2%)
CIE-LABlab(41.73, -15.09, 38.05)
CIE-LCHlch(41.73, 40.93, 111.63°)
OKLaboklab(49.25% -0.0447 0.0859)
OKLCHoklch(49.25% 0.097 117.5)
XYZxyz(9.7120, 12.3268, 3.1637)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D681F #2A1F68
analogous
#684F1F #5D681F #39681F
triadic
#5D681F #1F5D68 #681F5D
tetradic
#5D681F #1F684F #2A1F68 #681F39
square
#5D681F #1F684F #2A1F68 #681F39
split-complementary
#5D681F #1F3968 #4F1F68
monochromatic
#151807 #333911 #5D681F #87972D #B0C53C

Accessibility & contrast

On white

6.06
#5D681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5D681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D681F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D681F#FFFFFF#000000##FFFFFF
##5D681F1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6215
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#636259
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d681f;
/* rgb */ color: rgb(93, 104, 31);
/* oklch */ color: oklch(49.3% 0.097 117.5);
Tailwind
colors: {
  custom: {
    50: '#8d935f',
    500: '#5d681f',
    950: '#000000',
  },
}
SCSS
$custom: #5d681f;
$custom-light: #8d935f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d681f",
  "rgb": {
    "r": 93,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 69.041,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4925,
    "c": 0.09684,
    "h": 117.5
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#5D681F
secondary
#53469C
accent
#4ADD61
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #5D681F

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

Preview Lab → · Contrast checker → · Palette generator →

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