#5B6718#5B6718

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

Color values

HEX#5B6718
RGBrgb(91, 103, 24)
HSLhsl(69, 62%, 25%)
HSVhsv(69, 77%, 40%)
CMYKcmyk(11.7%, 0%, 76.7%, 59.6%)
CIE-LABlab(41.20, -15.91, 40.40)
CIE-LCHlch(41.20, 43.42, 111.50°)
OKLaboklab(48.77% -0.0475 0.0897)
OKLCHoklch(48.77% 0.102 117.9)
XYZxyz(9.3297, 11.9907, 2.6869)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6718 #241867
analogous
#674C18 #5B6718 #336718
triadic
#5B6718 #185B67 #67185B
tetradic
#5B6718 #18674C #241867 #671833
square
#5B6718 #18674C #241867 #671833
split-complementary
#5B6718 #183367 #4C1867
monochromatic
#161906 #2F350C #5B6718 #879924 #B3CA2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6718#FFFFFF#000000##FFFFFF
##5B67181.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)
#6E6109
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#616158
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b6718;
/* rgb */ color: rgb(91, 103, 24);
/* oklch */ color: oklch(48.8% 0.102 117.9);
Tailwind
colors: {
  custom: {
    50: '#8c925b',
    500: '#5b6718',
    950: '#000000',
  },
}
SCSS
$custom: #5b6718;
$custom-light: #8c925b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6718",
  "rgb": {
    "r": 91,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 69.114,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48767,
    "c": 0.10151,
    "h": 117.9
  },
  "luminance": 0.11991
}

Semantic roles & 50–950 ramp

primary
#5B6718
secondary
#4C3E9D
accent
#43E55B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5B6718

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

Preview Lab → · Contrast checker → · Palette generator →

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