#868D16#868D16

#868D16 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.7% C 0.132 H 113.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#868D16
RGBrgb(134, 141, 22)
HSLhsl(64, 73%, 32%)
HSVhsv(64, 84%, 55%)
CMYKcmyk(5%, 0%, 84.4%, 44.7%)
CIE-LABlab(56.26, -16.58, 55.97)
CIE-LCHlch(56.26, 58.37, 106.50°)
OKLaboklab(61.73% -0.052 0.1208)
OKLCHoklch(61.73% 0.132 113.3)
XYZxyz(19.5019, 24.1765, 4.3981)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868D16 #1D168D
analogous
#8D5816 #868D16 #4B8D16
triadic
#868D16 #16868D #8D1686
tetradic
#868D16 #168D58 #1D168D #8D164B
square
#868D16 #168D58 #1D168D #8D164B
split-complementary
#868D16 #164B8D #58168D
monochromatic
#212305 #54580E #868D16 #B8C21E #D7E13D

Accessibility & contrast

On white

3.60
#868D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#868D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868D16
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868D16#FFFFFF#000000##000000
##868D161.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#988822
Tritanopia (blue-blind)
#908478
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #868d16;
/* rgb */ color: rgb(134, 141, 22);
/* oklch */ color: oklch(61.7% 0.132 113.3);
Tailwind
colors: {
  custom: {
    50: '#adae61',
    500: '#868d16',
    950: '#000000',
  },
}
SCSS
$custom: #868d16;
$custom-light: #adae61;
$custom-dark: #000000;
JSON
{
  "hex": "#868d16",
  "rgb": {
    "r": 134,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 63.529,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.6173,
    "c": 0.13151,
    "h": 113.3
  },
  "luminance": 0.24176
}

Semantic roles & 50–950 ramp

primary
#868D16
secondary
#463EC1
accent
#38F043
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #868D16

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

Preview Lab → · Contrast checker → · Palette generator →

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