#868216#868216

#868216 is a mid, vivid yellow. Relative luminance 0.211; OKLCH L 59.2% C 0.120 H 107.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#868216
RGBrgb(134, 130, 22)
HSLhsl(58, 72%, 31%)
HSVhsv(58, 84%, 53%)
CMYKcmyk(0%, 3%, 83.6%, 47.5%)
CIE-LABlab(53.05, -10.71, 53.21)
CIE-LCHlch(53.05, 54.28, 101.38°)
OKLaboklab(59.16% -0.0357 0.1149)
OKLCHoklch(59.16% 0.12 107.3)
XYZxyz(17.9597, 21.0922, 3.8841)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868216 #161A86
analogous
#864A16 #868216 #528616
triadic
#868216 #168682 #821686
tetradic
#868216 #16864A #161A86 #861652
square
#868216 #16864A #161A86 #861652
split-complementary
#868216 #165286 #4A1686
monochromatic
#1D1C05 #514F0D #868216 #BBB51F #DED838

Accessibility & contrast

On white

4.02
#868216 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#868216 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868216
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868216#FFFFFF#000000##000000
##8682161.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#908020
Tritanopia (blue-blind)
#90796F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #868216;
/* rgb */ color: rgb(134, 130, 22);
/* oklch */ color: oklch(59.2% 0.120 107.3);
Tailwind
colors: {
  custom: {
    50: '#ada65f',
    500: '#868216',
    950: '#000000',
  },
}
SCSS
$custom: #868216;
$custom-light: #ada65f;
$custom-dark: #000000;
JSON
{
  "hex": "#868216",
  "rgb": {
    "r": 134,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 57.857,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.59159,
    "c": 0.12028,
    "h": 107.3
  },
  "luminance": 0.21092
}

Semantic roles & 50–950 ramp

primary
#868216
secondary
#3E42BA
accent
#40EF39
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #868216

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

Preview Lab → · Contrast checker → · Palette generator →

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