#5B682F#5B682F

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

Color values

HEX#5B682F
RGBrgb(91, 104, 47)
HSLhsl(74, 38%, 30%)
HSVhsv(74, 55%, 41%)
CMYKcmyk(12.5%, 0%, 54.8%, 59.2%)
CIE-LABlab(41.74, -14.58, 30.12)
CIE-LCHlch(41.74, 33.47, 115.83°)
OKLaboklab(49.27% -0.0414 0.0712)
OKLCHoklch(49.27% 0.082 120.2)
XYZxyz(9.7779, 12.3300, 4.5536)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B682F #3C2F68
analogous
#68592F #5B682F #3F682F
triadic
#5B682F #2F5B68 #682F5B
tetradic
#5B682F #2F6859 #3C2F68 #682F3F
square
#5B682F #2F6859 #3C2F68 #682F3F
split-complementary
#5B682F #2F3F68 #592F68
monochromatic
#12150A #363E1C #5B682F #809242 #A1B55C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B682F#FFFFFF#000000##FFFFFF
##5B682F1.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)
#6E632A
Deuteranopia (green-blind)
#6C6332
Tritanopia (blue-blind)
#5F635B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b682f;
/* rgb */ color: rgb(91, 104, 47);
/* oklch */ color: oklch(49.3% 0.082 120.2);
Tailwind
colors: {
  custom: {
    50: '#8b9369',
    500: '#5b682f',
    950: '#000000',
  },
}
SCSS
$custom: #5b682f;
$custom-light: #8b9369;
$custom-dark: #000000;
JSON
{
  "hex": "#5b682f",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 47
  },
  "hsl": {
    "h": 73.684,
    "s": 37.748,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49267,
    "c": 0.08235,
    "h": 120.2
  },
  "luminance": 0.1233
}

Semantic roles & 50–950 ramp

primary
#5B682F
secondary
#685999
accent
#5ACE74
background
#F8F9F6
surface
#F0F1EB
border
#CBCBC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5B682F

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

Preview Lab → · Contrast checker → · Palette generator →

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