#868D15#868D15

#868D15 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.83:1 contrast (WCAG AA passes).

Color values

HEX#868D15
RGBrgb(134, 141, 21)
HSLhsl(64, 74%, 32%)
HSVhsv(64, 85%, 55%)
CMYKcmyk(5%, 0%, 85.1%, 44.7%)
CIE-LABlab(56.26, -16.61, 56.22)
CIE-LCHlch(56.26, 58.63, 106.46°)
OKLaboklab(61.73% -0.0521 0.1212)
OKLCHoklch(61.73% 0.132 113.3)
XYZxyz(19.4924, 24.1727, 4.3483)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868D15 #1C158D
analogous
#8D5815 #868D15 #4A8D15
triadic
#868D15 #15868D #8D1586
tetradic
#868D15 #158D58 #1C158D #8D154A
square
#868D15 #158D58 #1C158D #8D154A
split-complementary
#868D15 #154A8D #58158D
monochromatic
#212205 #53580D #868D15 #B9C21D #D8E23B

Accessibility & contrast

On white

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

On black

5.83
#868D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868D15
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868D15#FFFFFF#000000##000000
##868D151.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.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: #868d15;
/* rgb */ color: rgb(134, 141, 21);
/* oklch */ color: oklch(61.7% 0.132 113.3);
Tailwind
colors: {
  custom: {
    50: '#adae61',
    500: '#868d15',
    950: '#000000',
  },
}
SCSS
$custom: #868d15;
$custom-light: #adae61;
$custom-dark: #000000;
JSON
{
  "hex": "#868d15",
  "rgb": {
    "r": 134,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 63.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61726,
    "c": 0.13191,
    "h": 113.3
  },
  "luminance": 0.24172
}

Semantic roles & 50–950 ramp

primary
#868D15
secondary
#453DC1
accent
#37F142
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #868D15

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

Preview Lab → · Contrast checker → · Palette generator →

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