#5D671B#5D671B

#5D671B is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.0% C 0.099 H 116.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5D671B
RGBrgb(93, 103, 27)
HSLhsl(68, 58%, 25%)
HSVhsv(68, 74%, 40%)
CMYKcmyk(9.7%, 0%, 73.8%, 59.6%)
CIE-LABlab(41.39, -14.80, 39.42)
CIE-LCHlch(41.39, 42.11, 110.58°)
OKLaboklab(48.96% -0.0443 0.0881)
OKLCHoklch(48.96% 0.099 116.7)
XYZxyz(9.5625, 12.1069, 2.8698)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D671B #251B67
analogous
#674B1B #5D671B #37671B
triadic
#5D671B #1B5D67 #671B5D
tetradic
#5D671B #1B674B #251B67 #671B37
square
#5D671B #1B674B #251B67 #671B37
split-complementary
#5D671B #1B3767 #4B1B67
monochromatic
#161806 #31370E #5D671B #899728 #B5C834

Accessibility & contrast

On white

6.14
#5D671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5D671B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D671B
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D671B#FFFFFF#000000##FFFFFF
##5D671B1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610E
Deuteranopia (green-blind)
#6E6221
Tritanopia (blue-blind)
#636158
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d671b;
/* rgb */ color: rgb(93, 103, 27);
/* oklch */ color: oklch(49.0% 0.099 116.7);
Tailwind
colors: {
  custom: {
    50: '#8d925d',
    500: '#5d671b',
    950: '#000000',
  },
}
SCSS
$custom: #5d671b;
$custom-light: #8d925d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d671b",
  "rgb": {
    "r": 93,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 67.895,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48963,
    "c": 0.09863,
    "h": 116.7
  },
  "luminance": 0.12107
}

Semantic roles & 50–950 ramp

primary
#5D671B
secondary
#4D429C
accent
#46E25B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5D671B

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

Preview Lab → · Contrast checker → · Palette generator →

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