#868C1D#868C1D

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

Color values

HEX#868C1D
RGBrgb(134, 140, 29)
HSLhsl(63, 66%, 33%)
HSVhsv(63, 79%, 55%)
CMYKcmyk(4.3%, 0%, 79.3%, 45.1%)
CIE-LABlab(56.00, -15.80, 53.71)
CIE-LCHlch(56.00, 55.99, 106.39°)
OKLaboklab(61.53% -0.0493 0.1173)
OKLCHoklch(61.53% 0.127 112.8)
XYZxyz(19.4320, 23.9137, 4.7543)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C1D #231D8C
analogous
#8C5A1D #868C1D #4E8C1D
triadic
#868C1D #1D868C #8C1D86
tetradic
#868C1D #1D8C5A #231D8C #8C1D4E
square
#868C1D #1D8C5A #231D8C #8C1D4E
split-complementary
#868C1D #1D4E8C #5A1D8C
monochromatic
#252708 #555912 #868C1D #B7BF28 #D2D94A

Accessibility & contrast

On white

3.63
#868C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##868C1D#FFFFFF#000000##000000
##868C1D1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#908378
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #868c1d;
/* rgb */ color: rgb(134, 140, 29);
/* oklch */ color: oklch(61.5% 0.127 112.8);
Tailwind
colors: {
  custom: {
    50: '#adad64',
    500: '#868c1d',
    950: '#000000',
  },
}
SCSS
$custom: #868c1d;
$custom-light: #adad64;
$custom-dark: #000000;
JSON
{
  "hex": "#868c1d",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 63.243,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61529,
    "c": 0.12719,
    "h": 112.8
  },
  "luminance": 0.23913
}

Semantic roles & 50–950 ramp

primary
#868C1D
secondary
#4F49BC
accent
#3FE948
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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