#5B6711#5B6711

#5B6711 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 48.7% C 0.106 H 117.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5B6711
RGBrgb(91, 103, 17)
HSLhsl(68, 72%, 24%)
HSVhsv(68, 83%, 40%)
CMYKcmyk(11.7%, 0%, 83.5%, 59.6%)
CIE-LABlab(41.16, -16.26, 42.86)
CIE-LCHlch(41.16, 45.84, 110.78°)
OKLaboklab(48.72% -0.0491 0.0935)
OKLCHoklch(48.72% 0.106 117.7)
XYZxyz(9.2660, 11.9652, 2.3516)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6711 #1D1167
analogous
#674811 #5B6711 #306711
triadic
#5B6711 #115B67 #67115B
tetradic
#5B6711 #116748 #1D1167 #671130
square
#5B6711 #116748 #1D1167 #671130
split-complementary
#5B6711 #113067 #481167
monochromatic
#171A04 #2D3208 #5B6711 #899C1A #B8D022

Accessibility & contrast

On white

6.19
#5B6711 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5B6711 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6711
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6711#FFFFFF#000000##FFFFFF
##5B67111.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6D6119
Tritanopia (blue-blind)
#616157
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b6711;
/* rgb */ color: rgb(91, 103, 17);
/* oklch */ color: oklch(48.7% 0.106 117.7);
Tailwind
colors: {
  custom: {
    50: '#8c9258',
    500: '#5b6711',
    950: '#000000',
  },
}
SCSS
$custom: #5b6711;
$custom-light: #8c9258;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6711",
  "rgb": {
    "r": 91,
    "g": 103,
    "b": 17
  },
  "hsl": {
    "h": 68.372,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.48721,
    "c": 0.10568,
    "h": 117.7
  },
  "luminance": 0.11965
}

Semantic roles & 50–950 ramp

primary
#5B6711
secondary
#44359F
accent
#39EE53
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5B6711

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

Preview Lab → · Contrast checker → · Palette generator →

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