#5B6113#5B6113

#5B6113 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.2% C 0.097 H 114.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5B6113
RGBrgb(91, 97, 19)
HSLhsl(65, 67%, 23%)
HSVhsv(65, 80%, 38%)
CMYKcmyk(6.2%, 0%, 80.4%, 62%)
CIE-LABlab(39.28, -12.87, 40.46)
CIE-LCHlch(39.28, 42.45, 107.64°)
OKLaboklab(47.21% -0.0396 0.0888)
OKLCHoklch(47.21% 0.097 114)
XYZxyz(8.7069, 10.8207, 2.2459)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6113 #191361
analogous
#614013 #5B6113 #346113
triadic
#5B6113 #135B61 #61135B
tetradic
#5B6113 #136140 #191361 #611334
square
#5B6113 #136140 #191361 #611334
split-complementary
#5B6113 #133461 #401361
monochromatic
#181A05 #2B2E09 #5B6113 #8B941D #BBC727

Accessibility & contrast

On white

6.64
#5B6113 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5B6113 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6113
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6113#FFFFFF#000000##FFFFFF
##5B61131.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C02
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#625B52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b6113;
/* rgb */ color: rgb(91, 97, 19);
/* oklch */ color: oklch(47.2% 0.097 114.0);
Tailwind
colors: {
  custom: {
    50: '#8c8d58',
    500: '#5b6113',
    950: '#000000',
  },
}
SCSS
$custom: #5b6113;
$custom-light: #8c8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6113",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 19
  },
  "hsl": {
    "h": 64.615,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47212,
    "c": 0.09727,
    "h": 114
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#5B6113
secondary
#3F3799
accent
#3EEA4B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6113

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

Preview Lab → · Contrast checker → · Palette generator →

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