#868C1B#868C1B

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

Color values

HEX#868C1B
RGBrgb(134, 140, 27)
HSLhsl(63, 68%, 33%)
HSVhsv(63, 81%, 55%)
CMYKcmyk(4.3%, 0%, 80.7%, 45.1%)
CIE-LABlab(55.99, -15.88, 54.32)
CIE-LCHlch(55.99, 56.60, 106.29°)
OKLaboklab(61.52% -0.0497 0.1182)
OKLCHoklch(61.52% 0.128 112.8)
XYZxyz(19.4081, 23.9041, 4.6283)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C1B #211B8C
analogous
#8C5A1B #868C1B #4D8C1B
triadic
#868C1B #1B868C #8C1B86
tetradic
#868C1B #1B8C5A #211B8C #8C1B4D
square
#868C1B #1B8C5A #211B8C #8C1B4D
split-complementary
#868C1B #1B4D8C #5A1B8C
monochromatic
#242507 #555911 #868C1B #B7BF25 #D3DB46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##868C1B#FFFFFF#000000##000000
##868C1B1.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)
#978726
Tritanopia (blue-blind)
#908377
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #868c1b;
/* rgb */ color: rgb(134, 140, 27);
/* oklch */ color: oklch(61.5% 0.128 112.8);
Tailwind
colors: {
  custom: {
    50: '#adad63',
    500: '#868c1b',
    950: '#000000',
  },
}
SCSS
$custom: #868c1b;
$custom-light: #adad63;
$custom-dark: #000000;
JSON
{
  "hex": "#868c1b",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 63.186,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61518,
    "c": 0.1282,
    "h": 112.8
  },
  "luminance": 0.23904
}

Semantic roles & 50–950 ramp

primary
#868C1B
secondary
#4C46BD
accent
#3DEB46
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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