#868B16#868B16

#868B16 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.3% C 0.129 H 112.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#868B16
RGBrgb(134, 139, 22)
HSLhsl(63, 73%, 32%)
HSVhsv(63, 84%, 55%)
CMYKcmyk(3.6%, 0%, 84.2%, 45.5%)
CIE-LABlab(55.68, -15.53, 55.47)
CIE-LCHlch(55.68, 57.60, 105.64°)
OKLaboklab(61.26% -0.0491 0.1197)
OKLCHoklch(61.26% 0.129 112.3)
XYZxyz(19.2096, 23.5920, 4.3007)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868B16 #1B168B
analogous
#8B5616 #868B16 #4C8B16
triadic
#868B16 #16868B #8B1686
tetradic
#868B16 #168B56 #1B168B #8B164C
square
#868B16 #168B56 #1B168B #8B164C
split-complementary
#868B16 #164C8B #56168B
monochromatic
#202105 #53560E #868B16 #B9C01E #D9E03B

Accessibility & contrast

On white

3.67
#868B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#868B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868B16
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868B16#FFFFFF#000000##000000
##868B161.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#978722
Tritanopia (blue-blind)
#908276
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #868b16;
/* rgb */ color: rgb(134, 139, 22);
/* oklch */ color: oklch(61.3% 0.129 112.3);
Tailwind
colors: {
  custom: {
    50: '#adac61',
    500: '#868b16',
    950: '#000000',
  },
}
SCSS
$custom: #868b16;
$custom-light: #adac61;
$custom-dark: #000000;
JSON
{
  "hex": "#868b16",
  "rgb": {
    "r": 134,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 62.564,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61259,
    "c": 0.1294,
    "h": 112.3
  },
  "luminance": 0.23591
}

Semantic roles & 50–950 ramp

primary
#868B16
secondary
#443EBF
accent
#38EF40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #868B16

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

Preview Lab → · Contrast checker → · Palette generator →

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