#5B6413#5B6413

#5B6413 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.0% C 0.101 H 116.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5B6413
RGBrgb(91, 100, 19)
HSLhsl(67, 68%, 23%)
HSVhsv(67, 81%, 39%)
CMYKcmyk(9%, 0%, 81%, 60.8%)
CIE-LABlab(40.22, -14.53, 41.33)
CIE-LCHlch(40.22, 43.81, 109.37°)
OKLaboklab(47.97% -0.0442 0.0907)
OKLCHoklch(47.97% 0.101 116)
XYZxyz(8.9893, 11.3856, 2.3401)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6413 #1C1364
analogous
#644413 #5B6413 #326413
triadic
#5B6413 #135B64 #64135B
tetradic
#5B6413 #136444 #1C1364 #641332
square
#5B6413 #136444 #1C1364 #641332
split-complementary
#5B6413 #133264 #441364
monochromatic
#171A05 #2C3109 #5B6413 #8A971D #B9CB27

Accessibility & contrast

On white

6.41
#5B6413 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5B6413 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6413
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6413#FFFFFF#000000##FFFFFF
##5B64131.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E01
Deuteranopia (green-blind)
#6B5F1A
Tritanopia (blue-blind)
#615E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b6413;
/* rgb */ color: rgb(91, 100, 19);
/* oklch */ color: oklch(48.0% 0.101 116.0);
Tailwind
colors: {
  custom: {
    50: '#8c9058',
    500: '#5b6413',
    950: '#000000',
  },
}
SCSS
$custom: #5b6413;
$custom-light: #8c9058;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6413",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 19
  },
  "hsl": {
    "h": 66.667,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47971,
    "c": 0.10089,
    "h": 116
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

primary
#5B6413
secondary
#42379C
accent
#3DEB50
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6413

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

Preview Lab → · Contrast checker → · Palette generator →

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