#5D681A#5D681A

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

Color values

HEX#5D681A
RGBrgb(93, 104, 26)
HSLhsl(68, 60%, 25%)
HSVhsv(68, 75%, 41%)
CMYKcmyk(10.6%, 0%, 75%, 59.2%)
CIE-LABlab(41.69, -15.41, 40.13)
CIE-LCHlch(41.69, 42.99, 111.01°)
OKLaboklab(49.21% -0.0461 0.0894)
OKLCHoklch(49.21% 0.101 117.3)
XYZxyz(9.6512, 12.3025, 2.8433)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D681A #251A68
analogous
#684C1A #5D681A #36681A
triadic
#5D681A #1A5D68 #681A5D
tetradic
#5D681A #1A684C #251A68 #681A36
square
#5D681A #1A684C #251A68 #681A36
split-complementary
#5D681A #1A3668 #4C1A68
monochromatic
#161806 #31370E #5D681A #899926 #B5CA32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D681A#FFFFFF#000000##FFFFFF
##5D681A1.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)
#6F620C
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#636259
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d681a;
/* rgb */ color: rgb(93, 104, 26);
/* oklch */ color: oklch(49.2% 0.101 117.3);
Tailwind
colors: {
  custom: {
    50: '#8d935c',
    500: '#5d681a',
    950: '#000000',
  },
}
SCSS
$custom: #5d681a;
$custom-light: #8d935c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d681a",
  "rgb": {
    "r": 93,
    "g": 104,
    "b": 26
  },
  "hsl": {
    "h": 68.462,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49207,
    "c": 0.10062,
    "h": 117.3
  },
  "luminance": 0.12302
}

Semantic roles & 50–950 ramp

primary
#5D681A
secondary
#4D409D
accent
#45E35B
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5D681A

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

Preview Lab → · Contrast checker → · Palette generator →

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