#868B1D#868B1D

#868B1D is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.3% C 0.126 H 112.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#868B1D
RGBrgb(134, 139, 29)
HSLhsl(63, 65%, 33%)
HSVhsv(63, 79%, 55%)
CMYKcmyk(3.6%, 0%, 79.1%, 45.5%)
CIE-LABlab(55.71, -15.27, 53.45)
CIE-LCHlch(55.71, 55.59, 105.95°)
OKLaboklab(61.29% -0.0478 0.1167)
OKLCHoklch(61.29% 0.126 112.3)
XYZxyz(19.2866, 23.6228, 4.7058)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868B1D #221D8B
analogous
#8B591D #868B1D #4F8B1D
triadic
#868B1D #1D868B #8B1D86
tetradic
#868B1D #1D8B59 #221D8B #8B1D4F
square
#868B1D #1D8B59 #221D8B #8B1D4F
split-complementary
#868B1D #1D4F8B #591D8B
monochromatic
#242608 #555812 #868B1D #B7BE28 #D3D949

Accessibility & contrast

On white

3.67
#868B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#868B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868B1D
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868B1D#FFFFFF#000000##000000
##868B1D1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#968727
Tritanopia (blue-blind)
#908277
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #868b1d;
/* rgb */ color: rgb(134, 139, 29);
/* oklch */ color: oklch(61.3% 0.126 112.3);
Tailwind
colors: {
  custom: {
    50: '#adac63',
    500: '#868b1d',
    950: '#000000',
  },
}
SCSS
$custom: #868b1d;
$custom-light: #adac63;
$custom-dark: #000000;
JSON
{
  "hex": "#868b1d",
  "rgb": {
    "r": 134,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 62.727,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61294,
    "c": 0.12612,
    "h": 112.3
  },
  "luminance": 0.23622
}

Semantic roles & 50–950 ramp

primary
#868B1D
secondary
#4E49BB
accent
#3FE847
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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