#868417#868417

#868417 is a mid, vivid yellow. Relative luminance 0.216; OKLCH L 59.6% C 0.122 H 108.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#868417
RGBrgb(134, 132, 23)
HSLhsl(59, 71%, 31%)
HSVhsv(59, 83%, 53%)
CMYKcmyk(0%, 1.5%, 82.8%, 47.5%)
CIE-LABlab(53.64, -11.76, 53.44)
CIE-LCHlch(53.64, 54.71, 102.41°)
OKLaboklab(59.63% -0.0386 0.1155)
OKLCHoklch(59.63% 0.122 108.5)
XYZxyz(18.2382, 21.6333, 4.0254)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868417 #171986
analogous
#864C17 #868417 #508617
triadic
#868417 #178684 #841786
tetradic
#868417 #17864C #171986 #861750
square
#868417 #17864C #171986 #861750
split-complementary
#868417 #175086 #4C1786
monochromatic
#1E1D05 #52510E #868417 #BAB720 #DDDA3A

Accessibility & contrast

On white

3.94
#868417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#868417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868417
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868417#FFFFFF#000000##000000
##8684171.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#918221
Tritanopia (blue-blind)
#907B70
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #868417;
/* rgb */ color: rgb(134, 132, 23);
/* oklch */ color: oklch(59.6% 0.122 108.5);
Tailwind
colors: {
  custom: {
    50: '#ada760',
    500: '#868417',
    950: '#000000',
  },
}
SCSS
$custom: #868417;
$custom-light: #ada760;
$custom-dark: #000000;
JSON
{
  "hex": "#868417",
  "rgb": {
    "r": 134,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 58.919,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59628,
    "c": 0.12179,
    "h": 108.5
  },
  "luminance": 0.21633
}

Semantic roles & 50–950 ramp

primary
#868417
secondary
#3F41BA
accent
#3EED3A
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #868417

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

Preview Lab → · Contrast checker → · Palette generator →

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