#86981F#86981F

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

Color values

HEX#86981F
RGBrgb(134, 152, 31)
HSLhsl(69, 66%, 36%)
HSVhsv(69, 80%, 60%)
CMYKcmyk(11.8%, 0%, 79.6%, 40.4%)
CIE-LABlab(59.55, -21.90, 56.30)
CIE-LCHlch(59.55, 60.41, 111.25°)
OKLaboklab(64.38% -0.0659 0.1231)
OKLCHoklch(64.38% 0.14 118.2)
XYZxyz(21.3076, 27.6239, 5.5055)
Luminance0.2762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86981F #311F98
analogous
#986D1F #86981F #49981F
triadic
#86981F #1F8698 #981F86
tetradic
#86981F #1F986D #311F98 #981F49
square
#86981F #1F986D #311F98 #981F49
split-complementary
#86981F #1F4998 #6D1F98
monochromatic
#2C320A #596515 #86981F #B3CB29 #C8DC55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##86981F#FFFFFF#000000##000000
##86981F1.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)
#A1902B
Tritanopia (blue-blind)
#8F8F82
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #86981f;
/* rgb */ color: rgb(134, 152, 31);
/* oklch */ color: oklch(64.4% 0.140 118.2);
Tailwind
colors: {
  custom: {
    50: '#adb666',
    500: '#86981f',
    950: '#000000',
  },
}
SCSS
$custom: #86981f;
$custom-light: #adb666;
$custom-dark: #000000;
JSON
{
  "hex": "#86981f",
  "rgb": {
    "r": 134,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 68.926,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6438,
    "c": 0.13968,
    "h": 118.2
  },
  "luminance": 0.27624
}

Semantic roles & 50–950 ramp

primary
#86981F
secondary
#6353C0
accent
#3FE958
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #86981F

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

Preview Lab → · Contrast checker → · Palette generator →

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