#868C1A#868C1A

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

Color values

HEX#868C1A
RGBrgb(134, 140, 26)
HSLhsl(63, 69%, 33%)
HSVhsv(63, 81%, 55%)
CMYKcmyk(4.3%, 0%, 81.4%, 45.1%)
CIE-LABlab(55.99, -15.91, 54.62)
CIE-LCHlch(55.99, 56.89, 106.24°)
OKLaboklab(61.51% -0.0498 0.1186)
OKLCHoklch(61.51% 0.129 112.8)
XYZxyz(19.3967, 23.8995, 4.5684)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C1A #201A8C
analogous
#8C591A #868C1A #4D8C1A
triadic
#868C1A #1A868C #8C1A86
tetradic
#868C1A #1A8C59 #201A8C #8C1A4D
square
#868C1A #1A8C59 #201A8C #8C1A4D
split-complementary
#868C1A #1A4D8C #591A8C
monochromatic
#232507 #555810 #868C1A #B7C024 #D4DC44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #868c1a;
/* rgb */ color: rgb(134, 140, 26);
/* oklch */ color: oklch(61.5% 0.129 112.8);
Tailwind
colors: {
  custom: {
    50: '#adad62',
    500: '#868c1a',
    950: '#000000',
  },
}
SCSS
$custom: #868c1a;
$custom-light: #adad62;
$custom-dark: #000000;
JSON
{
  "hex": "#868c1a",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 63.158,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61513,
    "c": 0.12868,
    "h": 112.8
  },
  "luminance": 0.23899
}

Semantic roles & 50–950 ramp

primary
#868C1A
secondary
#4B44BE
accent
#3CEC46
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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