#5B681D#5B681D

#5B681D is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 49.1% C 0.099 H 118.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5B681D
RGBrgb(91, 104, 29)
HSLhsl(70, 56%, 26%)
HSVhsv(70, 72%, 41%)
CMYKcmyk(12.5%, 0%, 72.1%, 59.2%)
CIE-LABlab(41.55, -16.14, 38.69)
CIE-LCHlch(41.55, 41.92, 112.65°)
OKLaboklab(49.06% -0.0477 0.087)
OKLCHoklch(49.06% 0.099 118.7)
XYZxyz(9.4867, 12.2136, 3.0198)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B681D #2A1D68
analogous
#684F1D #5B681D #35681D
triadic
#5B681D #1D5B68 #681D5B
tetradic
#5B681D #1D684F #2A1D68 #681D35
square
#5B681D #1D684F #2A1D68 #681D35
split-complementary
#5B681D #1D3568 #4F1D68
monochromatic
#151807 #313810 #5B681D #85982A #AFC738

Accessibility & contrast

On white

6.10
#5B681D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5B681D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B681D
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B681D#FFFFFF#000000##FFFFFF
##5B681D1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b681d;
/* rgb */ color: rgb(91, 104, 29);
/* oklch */ color: oklch(49.1% 0.099 118.7);
Tailwind
colors: {
  custom: {
    50: '#8c935e',
    500: '#5b681d',
    950: '#000000',
  },
}
SCSS
$custom: #5b681d;
$custom-light: #8c935e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b681d",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 29
  },
  "hsl": {
    "h": 70.4,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49062,
    "c": 0.0992,
    "h": 118.7
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#5B681D
secondary
#53449D
accent
#48E062
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #5B681D

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

Preview Lab → · Contrast checker → · Palette generator →

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