#5B6715#5B6715

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

Color values

HEX#5B6715
RGBrgb(91, 103, 21)
HSLhsl(69, 66%, 24%)
HSVhsv(69, 80%, 40%)
CMYKcmyk(11.7%, 0%, 79.6%, 59.6%)
CIE-LABlab(41.18, -16.07, 41.51)
CIE-LCHlch(41.18, 44.51, 111.17°)
OKLaboklab(48.75% -0.0483 0.0915)
OKLCHoklch(48.75% 0.103 117.8)
XYZxyz(9.3002, 11.9789, 2.5315)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6715 #211567
analogous
#674A15 #5B6715 #326715
triadic
#5B6715 #155B67 #67155B
tetradic
#5B6715 #15674A #211567 #671532
square
#5B6715 #15674A #211567 #671532
split-complementary
#5B6715 #153267 #4A1567
monochromatic
#161905 #2E340B #5B6715 #889A1F #B5CD2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6715#FFFFFF#000000##FFFFFF
##5B67151.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)
#6E6103
Deuteranopia (green-blind)
#6D621C
Tritanopia (blue-blind)
#616158
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b6715;
/* rgb */ color: rgb(91, 103, 21);
/* oklch */ color: oklch(48.7% 0.103 117.8);
Tailwind
colors: {
  custom: {
    50: '#8c925a',
    500: '#5b6715',
    950: '#000000',
  },
}
SCSS
$custom: #5b6715;
$custom-light: #8c925a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6715",
  "rgb": {
    "r": 91,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 68.78,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48746,
    "c": 0.10343,
    "h": 117.8
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

primary
#5B6715
secondary
#493A9E
accent
#3FE958
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5B6715

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

Preview Lab → · Contrast checker → · Palette generator →

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