#868E16#868E16

#868E16 is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 62.0% C 0.133 H 113.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#868E16
RGBrgb(134, 142, 22)
HSLhsl(64, 73%, 32%)
HSVhsv(64, 85%, 56%)
CMYKcmyk(5.6%, 0%, 84.5%, 44.3%)
CIE-LABlab(56.56, -17.10, 56.22)
CIE-LCHlch(56.56, 58.76, 106.92°)
OKLaboklab(61.97% -0.0534 0.1214)
OKLCHoklch(61.97% 0.133 113.8)
XYZxyz(19.6500, 24.4727, 4.4475)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868E16 #1E168E
analogous
#8E5A16 #868E16 #4A8E16
triadic
#868E16 #16868E #8E1686
tetradic
#868E16 #168E5A #1E168E #8E164A
square
#868E16 #168E5A #1E168E #8E164A
split-complementary
#868E16 #164A8E #5A168E
monochromatic
#222406 #54590E #868E16 #B8C31E #D6E13D

Accessibility & contrast

On white

3.56
#868E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#868E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868E16
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868E16#FFFFFF#000000##000000
##868E161.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#998923
Tritanopia (blue-blind)
#908579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868e16;
/* rgb */ color: rgb(134, 142, 22);
/* oklch */ color: oklch(62.0% 0.133 113.8);
Tailwind
colors: {
  custom: {
    50: '#adae61',
    500: '#868e16',
    950: '#000000',
  },
}
SCSS
$custom: #868e16;
$custom-light: #adae61;
$custom-dark: #000000;
JSON
{
  "hex": "#868e16",
  "rgb": {
    "r": 134,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 64,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61966,
    "c": 0.13259,
    "h": 113.8
  },
  "luminance": 0.24472
}

Semantic roles & 50–950 ramp

primary
#868E16
secondary
#473FC1
accent
#38F044
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #868E16

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

Preview Lab → · Contrast checker → · Palette generator →

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