#5B6313#5B6313

#5B6313 is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 47.7% C 0.100 H 115.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5B6313
RGBrgb(91, 99, 19)
HSLhsl(66, 68%, 23%)
HSVhsv(66, 81%, 39%)
CMYKcmyk(8.1%, 0%, 80.8%, 61.2%)
CIE-LABlab(39.91, -13.98, 41.04)
CIE-LCHlch(39.91, 43.35, 108.81°)
OKLaboklab(47.72% -0.0427 0.0901)
OKLCHoklch(47.72% 0.1 115.4)
XYZxyz(8.8940, 11.1950, 2.3083)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6313 #1B1363
analogous
#634313 #5B6313 #336313
triadic
#5B6313 #135B63 #63135B
tetradic
#5B6313 #136343 #1B1363 #631333
square
#5B6313 #136343 #1B1363 #631333
split-complementary
#5B6313 #133363 #431363
monochromatic
#181A05 #2C3009 #5B6313 #8A961D #B9CA27

Accessibility & contrast

On white

6.48
#5B6313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B6313
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6313#FFFFFF#000000##FFFFFF
##5B63131.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b6313;
/* rgb */ color: rgb(91, 99, 19);
/* oklch */ color: oklch(47.7% 0.100 115.4);
Tailwind
colors: {
  custom: {
    50: '#8c8f58',
    500: '#5b6313',
    950: '#000000',
  },
}
SCSS
$custom: #5b6313;
$custom-light: #8c8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6313",
  "rgb": {
    "r": 91,
    "g": 99,
    "b": 19
  },
  "hsl": {
    "h": 66,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47717,
    "c": 0.09968,
    "h": 115.4
  },
  "luminance": 0.11195
}

Semantic roles & 50–950 ramp

primary
#5B6313
secondary
#41379B
accent
#3DEB4E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6313

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

Preview Lab → · Contrast checker → · Palette generator →

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