#5B6010#5B6010

#5B6010 is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 46.9% C 0.098 H 113.3°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5B6010
RGBrgb(91, 96, 16)
HSLhsl(64, 71%, 22%)
HSVhsv(64, 83%, 38%)
CMYKcmyk(5.2%, 0%, 83.3%, 62.4%)
CIE-LABlab(38.95, -12.44, 41.19)
CIE-LCHlch(38.95, 43.03, 106.81°)
OKLaboklab(46.94% -0.0387 0.0898)
OKLCHoklch(46.94% 0.098 113.3)
XYZxyz(8.5911, 10.6275, 2.0889)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6010 #151060
analogous
#603D10 #5B6010 #336010
triadic
#5B6010 #105B60 #60105B
tetradic
#5B6010 #10603D #151060 #601033
square
#5B6010 #10603D #151060 #601033
split-complementary
#5B6010 #103360 #3D1060
monochromatic
#191A04 #292C07 #5B6010 #8D9419 #BEC921

Accessibility & contrast

On white

6.72
#5B6010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5B6010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6010
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6010#FFFFFF#000000##FFFFFF
##5B60101.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#685C17
Tritanopia (blue-blind)
#625A51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b6010;
/* rgb */ color: rgb(91, 96, 16);
/* oklch */ color: oklch(46.9% 0.098 113.3);
Tailwind
colors: {
  custom: {
    50: '#8c8d56',
    500: '#5b6010',
    950: '#000000',
  },
}
SCSS
$custom: #5b6010;
$custom-light: #8c8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6010",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 63.75,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.46941,
    "c": 0.0978,
    "h": 113.3
  },
  "luminance": 0.10627
}

Semantic roles & 50–950 ramp

primary
#5B6010
secondary
#393399
accent
#3AEE45
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B6010

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

Preview Lab → · Contrast checker → · Palette generator →

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