#5B6710#5B6710

#5B6710 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#5B6710
RGBrgb(91, 103, 16)
HSLhsl(68, 73%, 23%)
HSVhsv(68, 84%, 40%)
CMYKcmyk(11.7%, 0%, 84.5%, 59.6%)
CIE-LABlab(41.16, -16.30, 43.17)
CIE-LCHlch(41.16, 46.14, 110.69°)
OKLaboklab(48.72% -0.0493 0.094)
OKLCHoklch(48.72% 0.106 117.7)
XYZxyz(9.2584, 11.9622, 2.3113)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6710 #1C1067
analogous
#674710 #5B6710 #2F6710
triadic
#5B6710 #105B67 #67105B
tetradic
#5B6710 #106747 #1C1067 #67102F
square
#5B6710 #106747 #1C1067 #67102F
split-complementary
#5B6710 #102F67 #471067
monochromatic
#171A04 #2C3208 #5B6710 #8A9C18 #B9D120

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6710#FFFFFF#000000##FFFFFF
##5B67101.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: #5b6710;
/* rgb */ color: rgb(91, 103, 16);
/* oklch */ color: oklch(48.7% 0.106 117.7);
Tailwind
colors: {
  custom: {
    50: '#8c9258',
    500: '#5b6710',
    950: '#000000',
  },
}
SCSS
$custom: #5b6710;
$custom-light: #8c9258;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6710",
  "rgb": {
    "r": 91,
    "g": 103,
    "b": 16
  },
  "hsl": {
    "h": 68.276,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48716,
    "c": 0.10618,
    "h": 117.7
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#5B6710
secondary
#42339F
accent
#38F051
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5B6710

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

Preview Lab → · Contrast checker → · Palette generator →

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