#868517#868517

#868517 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 59.9% C 0.123 H 109.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#868517
RGBrgb(134, 133, 23)
HSLhsl(59, 71%, 31%)
HSVhsv(59, 83%, 53%)
CMYKcmyk(0%, 0.7%, 82.8%, 47.5%)
CIE-LABlab(53.93, -12.30, 53.69)
CIE-LCHlch(53.93, 55.08, 102.90°)
OKLaboklab(59.86% -0.0401 0.1161)
OKLCHoklch(59.86% 0.123 109)
XYZxyz(18.3744, 21.9058, 4.0708)
Luminance0.2190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868517 #171886
analogous
#864D17 #868517 #508617
triadic
#868517 #178685 #851786
tetradic
#868517 #17864D #171886 #861750
square
#868517 #17864D #171886 #861750
split-complementary
#868517 #175086 #4D1786
monochromatic
#1E1D05 #52510E #868517 #BAB920 #DDDC3A

Accessibility & contrast

On white

3.90
#868517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#868517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868517
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868517#FFFFFF#000000##000000
##8685171.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#928221
Tritanopia (blue-blind)
#907C71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #868517;
/* rgb */ color: rgb(134, 133, 23);
/* oklch */ color: oklch(59.9% 0.123 109.0);
Tailwind
colors: {
  custom: {
    50: '#ada860',
    500: '#868517',
    950: '#000000',
  },
}
SCSS
$custom: #868517;
$custom-light: #ada860;
$custom-dark: #000000;
JSON
{
  "hex": "#868517",
  "rgb": {
    "r": 134,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 59.459,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59861,
    "c": 0.12279,
    "h": 109
  },
  "luminance": 0.21905
}

Semantic roles & 50–950 ramp

primary
#868517
secondary
#3F40BA
accent
#3CED3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #868517

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

Preview Lab → · Contrast checker → · Palette generator →

#868517 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva