#868D1D#868D1D

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

Color values

HEX#868D1D
RGBrgb(134, 141, 29)
HSLhsl(64, 66%, 33%)
HSVhsv(64, 79%, 55%)
CMYKcmyk(5%, 0%, 79.4%, 44.7%)
CIE-LABlab(56.29, -16.32, 53.98)
CIE-LCHlch(56.29, 56.39, 106.82°)
OKLaboklab(61.76% -0.0507 0.1178)
OKLCHoklch(61.76% 0.128 113.3)
XYZxyz(19.5788, 24.2072, 4.8033)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868D1D #241D8D
analogous
#8D5C1D #868D1D #4E8D1D
triadic
#868D1D #1D868D #8D1D86
tetradic
#868D1D #1D8D5C #241D8D #8D1D4E
square
#868D1D #1D8D5C #241D8D #8D1D4E
split-complementary
#868D1D #1D4E8D #5C1D8D
monochromatic
#262708 #565A13 #868D1D #B6C027 #D1DA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##868D1D#FFFFFF#000000##000000
##868D1D1.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)
#988827
Tritanopia (blue-blind)
#8F8478
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #868d1d;
/* rgb */ color: rgb(134, 141, 29);
/* oklch */ color: oklch(61.8% 0.128 113.3);
Tailwind
colors: {
  custom: {
    50: '#adae64',
    500: '#868d1d',
    950: '#000000',
  },
}
SCSS
$custom: #868d1d;
$custom-light: #adae64;
$custom-dark: #000000;
JSON
{
  "hex": "#868d1d",
  "rgb": {
    "r": 134,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 63.75,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61764,
    "c": 0.12829,
    "h": 113.3
  },
  "luminance": 0.24207
}

Semantic roles & 50–950 ramp

primary
#868D1D
secondary
#514ABC
accent
#3FE94A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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