#5B6613#5B6613

#5B6613 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.5% C 0.103 H 117.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5B6613
RGBrgb(91, 102, 19)
HSLhsl(68, 69%, 24%)
HSVhsv(68, 81%, 40%)
CMYKcmyk(10.8%, 0%, 81.4%, 60%)
CIE-LABlab(40.85, -15.63, 41.91)
CIE-LCHlch(40.85, 44.73, 110.45°)
OKLaboklab(48.48% -0.0472 0.0919)
OKLCHoklch(48.48% 0.103 117.2)
XYZxyz(9.1835, 11.7740, 2.4048)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6613 #1E1366
analogous
#664713 #5B6613 #316613
triadic
#5B6613 #135B66 #66135B
tetradic
#5B6613 #136647 #1E1366 #661331
square
#5B6613 #136647 #1E1366 #661331
split-complementary
#5B6613 #133166 #471366
monochromatic
#171A05 #2D3209 #5B6613 #899A1D #B7CD26

Accessibility & contrast

On white

6.26
#5B6613 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5B6613 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6613
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6613#FFFFFF#000000##FFFFFF
##5B66131.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6C611B
Tritanopia (blue-blind)
#616057
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b6613;
/* rgb */ color: rgb(91, 102, 19);
/* oklch */ color: oklch(48.5% 0.103 117.2);
Tailwind
colors: {
  custom: {
    50: '#8c9159',
    500: '#5b6613',
    950: '#000000',
  },
}
SCSS
$custom: #5b6613;
$custom-light: #8c9159;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6613",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 19
  },
  "hsl": {
    "h": 67.952,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48479,
    "c": 0.10336,
    "h": 117.2
  },
  "luminance": 0.11774
}

Semantic roles & 50–950 ramp

primary
#5B6613
secondary
#45379D
accent
#3CEB54
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6613

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

Preview Lab → · Contrast checker → · Palette generator →

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