#5D681C#5D681C

#5D681C is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.2% C 0.099 H 117.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5D681C
RGBrgb(93, 104, 28)
HSLhsl(69, 58%, 26%)
HSVhsv(69, 73%, 41%)
CMYKcmyk(10.6%, 0%, 73.1%, 59.2%)
CIE-LABlab(41.71, -15.29, 39.32)
CIE-LCHlch(41.71, 42.19, 111.24°)
OKLaboklab(49.22% -0.0455 0.0881)
OKLCHoklch(49.22% 0.099 117.3)
XYZxyz(9.6743, 12.3117, 2.9651)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D681C #271C68
analogous
#684D1C #5D681C #37681C
triadic
#5D681C #1C5D68 #681C5D
tetradic
#5D681C #1C684D #271C68 #681C37
square
#5D681C #1C684D #271C68 #681C37
split-complementary
#5D681C #1C3768 #4D1C68
monochromatic
#161806 #32380F #5D681C #889829 #B3C836

Accessibility & contrast

On white

6.07
#5D681C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5D681C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D681C
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D681C#FFFFFF#000000##FFFFFF
##5D681C1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d681c;
/* rgb */ color: rgb(93, 104, 28);
/* oklch */ color: oklch(49.2% 0.099 117.3);
Tailwind
colors: {
  custom: {
    50: '#8d935d',
    500: '#5d681c',
    950: '#000000',
  },
}
SCSS
$custom: #5d681c;
$custom-light: #8d935d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d681c",
  "rgb": {
    "r": 93,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 68.684,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49223,
    "c": 0.09917,
    "h": 117.3
  },
  "luminance": 0.12312
}

Semantic roles & 50–950 ramp

primary
#5D681C
secondary
#50439D
accent
#47E15D
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5D681C

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

Preview Lab → · Contrast checker → · Palette generator →

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