#5B6714#5B6714

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

Color values

HEX#5B6714
RGBrgb(91, 103, 20)
HSLhsl(69, 67%, 24%)
HSVhsv(69, 81%, 40%)
CMYKcmyk(11.7%, 0%, 80.6%, 59.6%)
CIE-LABlab(41.18, -16.12, 41.86)
CIE-LCHlch(41.18, 44.86, 111.07°)
OKLaboklab(48.74% -0.0485 0.092)
OKLCHoklch(48.74% 0.104 117.8)
XYZxyz(9.2911, 11.9752, 2.4837)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6714 #201467
analogous
#674A14 #5B6714 #326714
triadic
#5B6714 #145B67 #67145B
tetradic
#5B6714 #14674A #201467 #671432
square
#5B6714 #14674A #201467 #671432
split-complementary
#5B6714 #143267 #4A1467
monochromatic
#171A05 #2E340A #5B6714 #889A1E #B6CD28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6714#FFFFFF#000000##FFFFFF
##5B67141.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b6714;
/* rgb */ color: rgb(91, 103, 20);
/* oklch */ color: oklch(48.7% 0.104 117.8);
Tailwind
colors: {
  custom: {
    50: '#8c9259',
    500: '#5b6714',
    950: '#000000',
  },
}
SCSS
$custom: #5b6714;
$custom-light: #8c9259;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6714",
  "rgb": {
    "r": 91,
    "g": 103,
    "b": 20
  },
  "hsl": {
    "h": 68.675,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48739,
    "c": 0.10402,
    "h": 117.8
  },
  "luminance": 0.11975
}

Semantic roles & 50–950 ramp

primary
#5B6714
secondary
#47399E
accent
#3DEA56
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5B6714

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

Preview Lab → · Contrast checker → · Palette generator →

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