#868B1B#868B1B

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

Color values

HEX#868B1B
RGBrgb(134, 139, 27)
HSLhsl(63, 67%, 33%)
HSVhsv(63, 81%, 55%)
CMYKcmyk(3.6%, 0%, 80.6%, 45.5%)
CIE-LABlab(55.70, -15.35, 54.06)
CIE-LCHlch(55.70, 56.20, 105.85°)
OKLaboklab(61.28% -0.0482 0.1176)
OKLCHoklch(61.28% 0.127 112.3)
XYZxyz(19.2626, 23.6132, 4.5798)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868B1B #201B8B
analogous
#8B581B #868B1B #4E8B1B
triadic
#868B1B #1B868B #8B1B86
tetradic
#868B1B #1B8B58 #201B8B #8B1B4E
square
#868B1B #1B8B58 #201B8B #8B1B4E
split-complementary
#868B1B #1B4E8B #581B8B
monochromatic
#232507 #555811 #868B1B #B7BE25 #D4DB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##868B1B#FFFFFF#000000##000000
##868B1B1.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)
#978725
Tritanopia (blue-blind)
#908277
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #868b1b;
/* rgb */ color: rgb(134, 139, 27);
/* oklch */ color: oklch(61.3% 0.127 112.3);
Tailwind
colors: {
  custom: {
    50: '#adac63',
    500: '#868b1b',
    950: '#000000',
  },
}
SCSS
$custom: #868b1b;
$custom-light: #adac63;
$custom-dark: #000000;
JSON
{
  "hex": "#868b1b",
  "rgb": {
    "r": 134,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 62.679,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61283,
    "c": 0.12712,
    "h": 112.3
  },
  "luminance": 0.23613
}

Semantic roles & 50–950 ramp

primary
#868B1B
secondary
#4B45BC
accent
#3DEA45
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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