#5B670F#5B670F

#5B670F is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 48.7% C 0.107 H 117.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5B670F
RGBrgb(91, 103, 15)
HSLhsl(68, 75%, 23%)
HSVhsv(68, 85%, 40%)
CMYKcmyk(11.7%, 0%, 85.4%, 59.6%)
CIE-LABlab(41.15, -16.34, 43.47)
CIE-LCHlch(41.15, 46.44, 110.61°)
OKLaboklab(48.71% -0.0495 0.0945)
OKLCHoklch(48.71% 0.107 117.7)
XYZxyz(9.2511, 11.9592, 2.2729)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B670F #1B0F67
analogous
#67470F #5B670F #2F670F
triadic
#5B670F #0F5B67 #670F5B
tetradic
#5B670F #0F6747 #1B0F67 #670F2F
square
#5B670F #0F6747 #1B0F67 #670F2F
split-complementary
#5B670F #0F2F67 #470F67
monochromatic
#181B04 #2C3207 #5B670F #8A9C17 #B9D21F

Accessibility & contrast

On white

6.19
#5B670F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5B670F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B670F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B670F#FFFFFF#000000##FFFFFF
##5B670F1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6D6118
Tritanopia (blue-blind)
#616157
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b670f;
/* rgb */ color: rgb(91, 103, 15);
/* oklch */ color: oklch(48.7% 0.107 117.7);
Tailwind
colors: {
  custom: {
    50: '#8c9257',
    500: '#5b670f',
    950: '#000000',
  },
}
SCSS
$custom: #5b670f;
$custom-light: #8c9257;
$custom-dark: #000000;
JSON
{
  "hex": "#5b670f",
  "rgb": {
    "r": 91,
    "g": 103,
    "b": 15
  },
  "hsl": {
    "h": 68.182,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48711,
    "c": 0.10668,
    "h": 117.7
  },
  "luminance": 0.11959
}

Semantic roles & 50–950 ramp

primary
#5B670F
secondary
#4132A0
accent
#37F150
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D03
muted
#7D7D78

Preview Lab

Preview with #5B670F

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

Preview Lab → · Contrast checker → · Palette generator →

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