#868316#868316

#868316 is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.4% C 0.121 H 107.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#868316
RGBrgb(134, 131, 22)
HSLhsl(58, 72%, 31%)
HSVhsv(58, 84%, 53%)
CMYKcmyk(0%, 2.2%, 83.6%, 47.5%)
CIE-LABlab(53.34, -11.25, 53.47)
CIE-LCHlch(53.34, 54.64, 101.89°)
OKLaboklab(59.39% -0.0372 0.1154)
OKLCHoklch(59.39% 0.121 107.9)
XYZxyz(18.0934, 21.3595, 3.9286)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868316 #161986
analogous
#864B16 #868316 #518616
triadic
#868316 #168683 #831686
tetradic
#868316 #16864B #161986 #861651
square
#868316 #16864B #161986 #861651
split-complementary
#868316 #165186 #4B1686
monochromatic
#1D1C05 #51500D #868316 #BBB61F #DEDA38

Accessibility & contrast

On white

3.98
#868316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#868316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868316
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868316#FFFFFF#000000##000000
##8683161.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#918120
Tritanopia (blue-blind)
#907A6F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #868316;
/* rgb */ color: rgb(134, 131, 22);
/* oklch */ color: oklch(59.4% 0.121 107.9);
Tailwind
colors: {
  custom: {
    50: '#ada65f',
    500: '#868316',
    950: '#000000',
  },
}
SCSS
$custom: #868316;
$custom-light: #ada65f;
$custom-dark: #000000;
JSON
{
  "hex": "#868316",
  "rgb": {
    "r": 134,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 58.393,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.59391,
    "c": 0.12125,
    "h": 107.9
  },
  "luminance": 0.21359
}

Semantic roles & 50–950 ramp

primary
#868316
secondary
#3E41BA
accent
#3EEF39
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #868316

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

Preview Lab → · Contrast checker → · Palette generator →

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