#5B671B#5B671B

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

Color values

HEX#5B671B
RGBrgb(91, 103, 27)
HSLhsl(69, 58%, 25%)
HSVhsv(69, 74%, 40%)
CMYKcmyk(11.7%, 0%, 73.8%, 59.6%)
CIE-LABlab(41.22, -15.73, 39.20)
CIE-LCHlch(41.22, 42.24, 111.86°)
OKLaboklab(48.79% -0.0467 0.0877)
OKLCHoklch(48.79% 0.099 118.1)
XYZxyz(9.3627, 12.0039, 2.8604)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B671B #271B67
analogous
#674D1B #5B671B #35671B
triadic
#5B671B #1B5B67 #671B5B
tetradic
#5B671B #1B674D #271B67 #671B35
square
#5B671B #1B674D #271B67 #671B35
split-complementary
#5B671B #1B3567 #4D1B67
monochromatic
#151806 #30370E #5B671B #869728 #B1C834

Accessibility & contrast

On white

6.18
#5B671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B671B
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B671B#FFFFFF#000000##FFFFFF
##5B671B1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b671b;
/* rgb */ color: rgb(91, 103, 27);
/* oklch */ color: oklch(48.8% 0.099 118.1);
Tailwind
colors: {
  custom: {
    50: '#8c925d',
    500: '#5b671b',
    950: '#000000',
  },
}
SCSS
$custom: #5b671b;
$custom-light: #8c925d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b671b",
  "rgb": {
    "r": 91,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 69.474,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48791,
    "c": 0.0994,
    "h": 118.1
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#5B671B
secondary
#50429C
accent
#46E25F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5B671B

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

Preview Lab → · Contrast checker → · Palette generator →

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