#5B681F#5B681F

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

Color values

HEX#5B681F
RGBrgb(91, 104, 31)
HSLhsl(71, 54%, 26%)
HSVhsv(71, 70%, 41%)
CMYKcmyk(12.5%, 0%, 70.2%, 59.2%)
CIE-LABlab(41.57, -16.00, 37.83)
CIE-LCHlch(41.57, 41.08, 112.93°)
OKLaboklab(49.08% -0.0471 0.0855)
OKLCHoklch(49.08% 0.098 118.8)
XYZxyz(9.5122, 12.2238, 3.1544)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B681F #2C1F68
analogous
#68511F #5B681F #37681F
triadic
#5B681F #1F5B68 #681F5B
tetradic
#5B681F #1F6851 #2C1F68 #681F37
square
#5B681F #1F6851 #2C1F68 #681F37
split-complementary
#5B681F #1F3768 #511F68
monochromatic
#151807 #323911 #5B681F #84972D #ADC53C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B681F#FFFFFF#000000##FFFFFF
##5B681F1.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)
#6F6215
Deuteranopia (green-blind)
#6E6224
Tritanopia (blue-blind)
#616259
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b681f;
/* rgb */ color: rgb(91, 104, 31);
/* oklch */ color: oklch(49.1% 0.098 118.8);
Tailwind
colors: {
  custom: {
    50: '#8c935f',
    500: '#5b681f',
    950: '#000000',
  },
}
SCSS
$custom: #5b681f;
$custom-light: #8c935f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b681f",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 70.685,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4908,
    "c": 0.09764,
    "h": 118.8
  },
  "luminance": 0.12224
}

Semantic roles & 50–950 ramp

primary
#5B681F
secondary
#56469C
accent
#4ADD65
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #5B681F

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

Preview Lab → · Contrast checker → · Palette generator →

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