#5B6716#5B6716

#5B6716 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 48.8% C 0.103 H 117.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5B6716
RGBrgb(91, 103, 22)
HSLhsl(69, 65%, 25%)
HSVhsv(69, 79%, 40%)
CMYKcmyk(11.7%, 0%, 78.6%, 59.6%)
CIE-LABlab(41.19, -16.02, 41.15)
CIE-LCHlch(41.19, 44.16, 111.27°)
OKLaboklab(48.75% -0.048 0.0909)
OKLCHoklch(48.75% 0.103 117.9)
XYZxyz(9.3097, 11.9827, 2.5814)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6716 #221667
analogous
#674B16 #5B6716 #336716
triadic
#5B6716 #165B67 #67165B
tetradic
#5B6716 #16674B #221667 #671633
square
#5B6716 #16674B #221667 #671633
split-complementary
#5B6716 #163367 #4B1667
monochromatic
#161905 #2E350B #5B6716 #889921 #B4CC2C

Accessibility & contrast

On white

6.18
#5B6716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5B6716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6716
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6716#FFFFFF#000000##FFFFFF
##5B67161.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6105
Deuteranopia (green-blind)
#6D621D
Tritanopia (blue-blind)
#616158
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b6716;
/* rgb */ color: rgb(91, 103, 22);
/* oklch */ color: oklch(48.8% 0.103 117.9);
Tailwind
colors: {
  custom: {
    50: '#8c925a',
    500: '#5b6716',
    950: '#000000',
  },
}
SCSS
$custom: #5b6716;
$custom-light: #8c925a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6716",
  "rgb": {
    "r": 91,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 68.889,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48753,
    "c": 0.1028,
    "h": 117.9
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#5B6716
secondary
#4A3B9E
accent
#40E859
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5B6716

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

Preview Lab → · Contrast checker → · Palette generator →

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