#5B6913#5B6913

#5B6913 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.2% C 0.107 H 118.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5B6913
RGBrgb(91, 105, 19)
HSLhsl(70, 69%, 24%)
HSVhsv(70, 82%, 41%)
CMYKcmyk(13.3%, 0%, 81.9%, 58.8%)
CIE-LABlab(41.81, -17.25, 42.78)
CIE-LCHlch(41.81, 46.13, 111.96°)
OKLaboklab(49.24% -0.0517 0.0938)
OKLCHoklch(49.24% 0.107 118.9)
XYZxyz(9.4837, 12.3744, 2.5049)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6913 #211369
analogous
#694C13 #5B6913 #306913
triadic
#5B6913 #135B69 #69135B
tetradic
#5B6913 #13694C #211369 #691330
square
#5B6913 #13694C #211369 #691330
split-complementary
#5B6913 #133069 #4C1369
monochromatic
#161A05 #2E350A #5B6913 #889D1C #B5D126

Accessibility & contrast

On white

6.04
#5B6913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5B6913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6913
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6913#FFFFFF#000000##FFFFFF
##5B69131.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706300
Deuteranopia (green-blind)
#6F631B
Tritanopia (blue-blind)
#616359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5b6913;
/* rgb */ color: rgb(91, 105, 19);
/* oklch */ color: oklch(49.2% 0.107 118.9);
Tailwind
colors: {
  custom: {
    50: '#8c9359',
    500: '#5b6913',
    950: '#000000',
  },
}
SCSS
$custom: #5b6913;
$custom-light: #8c9359;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6913",
  "rgb": {
    "r": 91,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 69.767,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49243,
    "c": 0.10708,
    "h": 118.9
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#5B6913
secondary
#4938A0
accent
#3CEC58
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6913

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

Preview Lab → · Contrast checker → · Palette generator →

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