#868D1A#868D1A

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

Color values

HEX#868D1A
RGBrgb(134, 141, 26)
HSLhsl(64, 69%, 33%)
HSVhsv(64, 82%, 55%)
CMYKcmyk(5%, 0%, 81.6%, 44.7%)
CIE-LABlab(56.28, -16.44, 54.88)
CIE-LCHlch(56.28, 57.29, 106.68°)
OKLaboklab(61.75% -0.0513 0.1192)
OKLCHoklch(61.75% 0.13 113.3)
XYZxyz(19.5435, 24.1931, 4.6173)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868D1A #211A8D
analogous
#8D5A1A #868D1A #4D8D1A
triadic
#868D1A #1A868D #8D1A86
tetradic
#868D1A #1A8D5A #211A8D #8D1A4D
square
#868D1A #1A8D5A #211A8D #8D1A4D
split-complementary
#868D1A #1A4D8D #5A1A8D
monochromatic
#242607 #555910 #868D1A #B7C124 #D3DD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##868D1A#FFFFFF#000000##000000
##868D1A1.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)
#988825
Tritanopia (blue-blind)
#908478
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #868d1a;
/* rgb */ color: rgb(134, 141, 26);
/* oklch */ color: oklch(61.7% 0.130 113.3);
Tailwind
colors: {
  custom: {
    50: '#adae62',
    500: '#868d1a',
    950: '#000000',
  },
}
SCSS
$custom: #868d1a;
$custom-light: #adae62;
$custom-dark: #000000;
JSON
{
  "hex": "#868d1a",
  "rgb": {
    "r": 134,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 63.652,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61748,
    "c": 0.12976,
    "h": 113.3
  },
  "luminance": 0.24193
}

Semantic roles & 50–950 ramp

primary
#868D1A
secondary
#4C45BE
accent
#3CEC47
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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