#5B6414#5B6414

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

Color values

HEX#5B6414
RGBrgb(91, 100, 20)
HSLhsl(67, 67%, 24%)
HSVhsv(67, 80%, 39%)
CMYKcmyk(9%, 0%, 80%, 60.8%)
CIE-LABlab(40.23, -14.48, 40.98)
CIE-LCHlch(40.23, 43.46, 109.46°)
OKLaboklab(47.98% -0.044 0.0901)
OKLCHoklch(47.98% 0.1 116)
XYZxyz(8.9981, 11.3891, 2.3860)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6414 #1D1464
analogous
#644514 #5B6414 #336414
triadic
#5B6414 #145B64 #64145B
tetradic
#5B6414 #146445 #1D1464 #641433
square
#5B6414 #146445 #1D1464 #641433
split-complementary
#5B6414 #143364 #451464
monochromatic
#171A05 #2D310A #5B6414 #89971E #B8CA28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6414#FFFFFF#000000##FFFFFF
##5B64141.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)
#6C5E03
Deuteranopia (green-blind)
#6B5F1B
Tritanopia (blue-blind)
#615E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b6414;
/* rgb */ color: rgb(91, 100, 20);
/* oklch */ color: oklch(48.0% 0.100 116.0);
Tailwind
colors: {
  custom: {
    50: '#8c9059',
    500: '#5b6414',
    950: '#000000',
  },
}
SCSS
$custom: #5b6414;
$custom-light: #8c9059;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6414",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 20
  },
  "hsl": {
    "h": 66.75,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47977,
    "c": 0.1003,
    "h": 116
  },
  "luminance": 0.11389
}

Semantic roles & 50–950 ramp

primary
#5B6414
secondary
#44389B
accent
#3EEA51
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6414

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

Preview Lab → · Contrast checker → · Palette generator →

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