#5B6713#5B6713

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

Color values

HEX#5B6713
RGBrgb(91, 103, 19)
HSLhsl(69, 69%, 24%)
HSVhsv(69, 82%, 40%)
CMYKcmyk(11.7%, 0%, 81.6%, 59.6%)
CIE-LABlab(41.17, -16.17, 42.20)
CIE-LCHlch(41.17, 45.19, 110.97°)
OKLaboklab(48.73% -0.0487 0.0925)
OKLCHoklch(48.73% 0.105 117.8)
XYZxyz(9.2824, 11.9718, 2.4378)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6713 #1F1367
analogous
#674913 #5B6713 #316713
triadic
#5B6713 #135B67 #67135B
tetradic
#5B6713 #136749 #1F1367 #671331
square
#5B6713 #136749 #1F1367 #671331
split-complementary
#5B6713 #133167 #491367
monochromatic
#171A05 #2D3309 #5B6713 #899B1D #B6CE26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6713#FFFFFF#000000##FFFFFF
##5B67131.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)
#6E6100
Deuteranopia (green-blind)
#6D611B
Tritanopia (blue-blind)
#616157
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b6713;
/* rgb */ color: rgb(91, 103, 19);
/* oklch */ color: oklch(48.7% 0.105 117.8);
Tailwind
colors: {
  custom: {
    50: '#8c9259',
    500: '#5b6713',
    950: '#000000',
  },
}
SCSS
$custom: #5b6713;
$custom-light: #8c9259;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6713",
  "rgb": {
    "r": 91,
    "g": 103,
    "b": 19
  },
  "hsl": {
    "h": 68.571,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48733,
    "c": 0.10459,
    "h": 117.8
  },
  "luminance": 0.11972
}

Semantic roles & 50–950 ramp

primary
#5B6713
secondary
#46379E
accent
#3CEC55
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5B6713

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

Preview Lab → · Contrast checker → · Palette generator →

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