#868C15#868C15

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

Color values

HEX#868C15
RGBrgb(134, 140, 21)
HSLhsl(63, 74%, 32%)
HSVhsv(63, 85%, 55%)
CMYKcmyk(4.3%, 0%, 85%, 45.1%)
CIE-LABlab(55.97, -16.09, 55.98)
CIE-LCHlch(55.97, 58.24, 106.03°)
OKLaboklab(61.49% -0.0507 0.1206)
OKLCHoklch(61.49% 0.131 112.8)
XYZxyz(19.3456, 23.8791, 4.2994)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C15 #1B158C
analogous
#8C5715 #868C15 #4B8C15
triadic
#868C15 #15868C #8C1586
tetradic
#868C15 #158C57 #1B158C #8C154B
square
#868C15 #158C57 #1B158C #8C154B
split-complementary
#868C15 #154B8C #57158C
monochromatic
#202205 #53570D #868C15 #B9C11D #D9E13A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##868C15#FFFFFF#000000##000000
##868C151.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: #868c15;
/* rgb */ color: rgb(134, 140, 21);
/* oklch */ color: oklch(61.5% 0.131 112.8);
Tailwind
colors: {
  custom: {
    50: '#adad60',
    500: '#868c15',
    950: '#000000',
  },
}
SCSS
$custom: #868c15;
$custom-light: #adad60;
$custom-dark: #000000;
JSON
{
  "hex": "#868c15",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 21
  },
  "hsl": {
    "h": 63.025,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.6149,
    "c": 0.13085,
    "h": 112.8
  },
  "luminance": 0.23879
}

Semantic roles & 50–950 ramp

primary
#868C15
secondary
#443DC0
accent
#37F141
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #868C15

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

Preview Lab → · Contrast checker → · Palette generator →

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