#5C681D#5C681D

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

Color values

HEX#5C681D
RGBrgb(92, 104, 29)
HSLhsl(70, 56%, 26%)
HSVhsv(70, 72%, 41%)
CMYKcmyk(11.5%, 0%, 72.1%, 59.2%)
CIE-LABlab(41.63, -15.68, 38.80)
CIE-LCHlch(41.63, 41.85, 112.01°)
OKLaboklab(49.15% -0.0465 0.0872)
OKLCHoklch(49.15% 0.099 118.1)
XYZxyz(9.5859, 12.2647, 3.0245)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C681D #291D68
analogous
#684E1D #5C681D #36681D
triadic
#5C681D #1D5C68 #681D5C
tetradic
#5C681D #1D684E #291D68 #681D36
square
#5C681D #1D684E #291D68 #681D36
split-complementary
#5C681D #1D3668 #4E1D68
monochromatic
#151807 #323810 #5C681D #86982A #B1C738

Accessibility & contrast

On white

6.08
#5C681D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5C681D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C681D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C681D#FFFFFF#000000##FFFFFF
##5C681D1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6212
Deuteranopia (green-blind)
#6E6323
Tritanopia (blue-blind)
#626259
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c681d;
/* rgb */ color: rgb(92, 104, 29);
/* oklch */ color: oklch(49.1% 0.099 118.1);
Tailwind
colors: {
  custom: {
    50: '#8c935e',
    500: '#5c681d',
    950: '#000000',
  },
}
SCSS
$custom: #5c681d;
$custom-light: #8c935e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c681d",
  "rgb": {
    "r": 92,
    "g": 104,
    "b": 29
  },
  "hsl": {
    "h": 69.6,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49146,
    "c": 0.0988,
    "h": 118.1
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

primary
#5C681D
secondary
#52449D
accent
#48E060
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #5C681D

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

Preview Lab → · Contrast checker → · Palette generator →

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