#5B6319#5B6319

#5B6319 is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 47.8% C 0.096 H 115.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5B6319
RGBrgb(91, 99, 25)
HSLhsl(66, 60%, 24%)
HSVhsv(66, 75%, 39%)
CMYKcmyk(8.1%, 0%, 74.7%, 61.2%)
CIE-LABlab(39.95, -13.65, 38.77)
CIE-LCHlch(39.95, 41.10, 109.40°)
OKLaboklab(47.76% -0.0412 0.0864)
OKLCHoklch(47.76% 0.096 115.5)
XYZxyz(8.9519, 11.2182, 2.6133)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6319 #211963
analogous
#634619 #5B6319 #366319
triadic
#5B6319 #195B63 #63195B
tetradic
#5B6319 #196346 #211963 #631936
square
#5B6319 #196346 #211963 #631936
split-complementary
#5B6319 #193663 #461963
monochromatic
#161806 #2E320D #5B6319 #889425 #B5C532

Accessibility & contrast

On white

6.47
#5B6319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5B6319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6319
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6319#FFFFFF#000000##FFFFFF
##5B63191.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E0C
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#615D54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5b6319;
/* rgb */ color: rgb(91, 99, 25);
/* oklch */ color: oklch(47.8% 0.096 115.5);
Tailwind
colors: {
  custom: {
    50: '#8c8f5b',
    500: '#5b6319',
    950: '#000000',
  },
}
SCSS
$custom: #5b6319;
$custom-light: #8c8f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6319",
  "rgb": {
    "r": 91,
    "g": 99,
    "b": 25
  },
  "hsl": {
    "h": 66.486,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4776,
    "c": 0.09575,
    "h": 115.5
  },
  "luminance": 0.11218
}

Semantic roles & 50–950 ramp

primary
#5B6319
secondary
#493F99
accent
#45E356
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6319

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

Preview Lab → · Contrast checker → · Palette generator →

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