#5B671F#5B671F

#5B671F is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.8% C 0.096 H 118.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5B671F
RGBrgb(91, 103, 31)
HSLhsl(70, 54%, 26%)
HSVhsv(70, 70%, 40%)
CMYKcmyk(11.7%, 0%, 69.9%, 59.6%)
CIE-LABlab(41.25, -15.46, 37.51)
CIE-LCHlch(41.25, 40.57, 112.40°)
OKLaboklab(48.83% -0.0456 0.0848)
OKLCHoklch(48.83% 0.096 118.2)
XYZxyz(9.4121, 12.0237, 3.1210)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B671F #2B1F67
analogous
#674F1F #5B671F #37671F
triadic
#5B671F #1F5B67 #671F5B
tetradic
#5B671F #1F674F #2B1F67 #671F37
square
#5B671F #1F674F #2B1F67 #671F37
split-complementary
#5B671F #1F3767 #4F1F67
monochromatic
#151807 #313811 #5B671F #85962D #AEC43C

Accessibility & contrast

On white

6.17
#5B671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5B671F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B671F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B671F#FFFFFF#000000##FFFFFF
##5B671F1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6115
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#616158
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b671f;
/* rgb */ color: rgb(91, 103, 31);
/* oklch */ color: oklch(48.8% 0.096 118.2);
Tailwind
colors: {
  custom: {
    50: '#8c925f',
    500: '#5b671f',
    950: '#000000',
  },
}
SCSS
$custom: #5b671f;
$custom-light: #8c925f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b671f",
  "rgb": {
    "r": 91,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 70,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48826,
    "c": 0.0963,
    "h": 118.2
  },
  "luminance": 0.12024
}

Semantic roles & 50–950 ramp

primary
#5B671F
secondary
#55469B
accent
#4BDD63
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D05
muted
#7D7D79

Preview Lab

Preview with #5B671F

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

Preview Lab → · Contrast checker → · Palette generator →

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