#86981B#86981B

#86981B is a light, vivid yellow. Relative luminance 0.276; OKLCH L 64.4% C 0.142 H 118.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#86981B
RGBrgb(134, 152, 27)
HSLhsl(69, 70%, 35%)
HSVhsv(69, 82%, 60%)
CMYKcmyk(11.8%, 0%, 82.2%, 40.4%)
CIE-LABlab(59.53, -22.05, 57.45)
CIE-LCHlch(59.53, 61.54, 111.00°)
OKLaboklab(64.36% -0.0667 0.1249)
OKLCHoklch(64.36% 0.142 118.1)
XYZxyz(21.2581, 27.6041, 5.2450)
Luminance0.2760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86981B #2D1B98
analogous
#986B1B #86981B #48981B
triadic
#86981B #1B8698 #981B86
tetradic
#86981B #1B986B #2D1B98 #981B48
square
#86981B #1B986B #2D1B98 #981B48
split-complementary
#86981B #1B4898 #6B1B98
monochromatic
#2A3009 #586412 #86981B #B4CC24 #CBE04E

Accessibility & contrast

On white

3.22
#86981B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#86981B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #86981B
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86981B#FFFFFF#000000##000000
##86981B1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A19028
Tritanopia (blue-blind)
#8F8F82
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #86981b;
/* rgb */ color: rgb(134, 152, 27);
/* oklch */ color: oklch(64.4% 0.142 118.1);
Tailwind
colors: {
  custom: {
    50: '#adb664',
    500: '#86981b',
    950: '#000000',
  },
}
SCSS
$custom: #86981b;
$custom-light: #adb664;
$custom-dark: #000000;
JSON
{
  "hex": "#86981b",
  "rgb": {
    "r": 134,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 68.64,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6436,
    "c": 0.14157,
    "h": 118.1
  },
  "luminance": 0.27604
}

Semantic roles & 50–950 ramp

primary
#86981B
secondary
#5E4DC2
accent
#3BED55
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #86981B

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

Preview Lab → · Contrast checker → · Palette generator →

#86981B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva