#868C16#868C16

#868C16 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.130 H 112.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#868C16
RGBrgb(134, 140, 22)
HSLhsl(63, 73%, 32%)
HSVhsv(63, 84%, 55%)
CMYKcmyk(4.3%, 0%, 84.3%, 45.1%)
CIE-LABlab(55.97, -16.05, 55.72)
CIE-LCHlch(55.97, 57.99, 106.07°)
OKLaboklab(61.49% -0.0505 0.1203)
OKLCHoklch(61.49% 0.13 112.8)
XYZxyz(19.3551, 23.8829, 4.3492)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C16 #1C168C
analogous
#8C5716 #868C16 #4B8C16
triadic
#868C16 #16868C #8C1686
tetradic
#868C16 #168C57 #1C168C #8C164B
square
#868C16 #168C57 #1C168C #8C164B
split-complementary
#868C16 #164B8C #57168C
monochromatic
#212205 #53570E #868C16 #B9C11E #D8E03C

Accessibility & contrast

On white

3.64
#868C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#868C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868C16
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868C16#FFFFFF#000000##000000
##868C161.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#978722
Tritanopia (blue-blind)
#908377
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #868c16;
/* rgb */ color: rgb(134, 140, 22);
/* oklch */ color: oklch(61.5% 0.130 112.8);
Tailwind
colors: {
  custom: {
    50: '#adad61',
    500: '#868c16',
    950: '#000000',
  },
}
SCSS
$custom: #868c16;
$custom-light: #adad61;
$custom-dark: #000000;
JSON
{
  "hex": "#868c16",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 63.051,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61494,
    "c": 0.13045,
    "h": 112.8
  },
  "luminance": 0.23882
}

Semantic roles & 50–950 ramp

primary
#868C16
secondary
#453EC0
accent
#38F042
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #868C16

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

Preview Lab → · Contrast checker → · Palette generator →

#868C16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva