#868716#868716

#868716 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.3% C 0.125 H 110.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#868716
RGBrgb(134, 135, 22)
HSLhsl(61, 72%, 31%)
HSVhsv(61, 84%, 53%)
CMYKcmyk(0.7%, 0%, 83.7%, 47.1%)
CIE-LABlab(54.51, -13.41, 54.47)
CIE-LCHlch(54.51, 56.09, 103.83°)
OKLaboklab(60.32% -0.0432 0.1176)
OKLCHoklch(60.32% 0.125 110.2)
XYZxyz(18.6410, 22.4548, 4.1112)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868716 #171687
analogous
#874F16 #868716 #4D8716
triadic
#868716 #168687 #871686
tetradic
#868716 #16874F #171687 #87164D
square
#868716 #16874F #171687 #87164D
split-complementary
#868716 #164D87 #4F1687
monochromatic
#1E1E05 #52520D #868716 #BABC1F #DDDF39

Accessibility & contrast

On white

3.82
#868716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#868716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868716
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868716#FFFFFF#000000##000000
##8687161.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#948421
Tritanopia (blue-blind)
#907E73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #868716;
/* rgb */ color: rgb(134, 135, 22);
/* oklch */ color: oklch(60.3% 0.125 110.2);
Tailwind
colors: {
  custom: {
    50: '#ada960',
    500: '#868716',
    950: '#000000',
  },
}
SCSS
$custom: #868716;
$custom-light: #ada960;
$custom-dark: #000000;
JSON
{
  "hex": "#868716",
  "rgb": {
    "r": 134,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 60.531,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.60322,
    "c": 0.12525,
    "h": 110.2
  },
  "luminance": 0.22454
}

Semantic roles & 50–950 ramp

primary
#868716
secondary
#3F3EBB
accent
#39EF3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #868716

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

Preview Lab → · Contrast checker → · Palette generator →

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