#86941B#86941B

#86941B is a light, vivid yellow. Relative luminance 0.263; OKLCH L 63.4% C 0.137 H 116.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#86941B
RGBrgb(134, 148, 27)
HSLhsl(67, 69%, 34%)
HSVhsv(67, 82%, 58%)
CMYKcmyk(9.5%, 0%, 81.8%, 42%)
CIE-LABlab(58.35, -20.02, 56.41)
CIE-LCHlch(58.35, 59.86, 109.54°)
OKLaboklab(63.41% -0.0611 0.1227)
OKLCHoklch(63.41% 0.137 116.5)
XYZxyz(20.6198, 26.3276, 5.0322)
Luminance0.2633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86941B #291B94
analogous
#94661B #86941B #4A941B
triadic
#86941B #1B8694 #941B86
tetradic
#86941B #1B9466 #291B94 #941B4A
square
#86941B #1B9466 #291B94 #941B4A
split-complementary
#86941B #1B4A94 #661B94
monochromatic
#282C08 #576012 #86941B #B5C824 #CDDE4B

Accessibility & contrast

On white

3.35
#86941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#86941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #86941B
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86941B#FFFFFF#000000##000000
##86941B1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9E8D27
Tritanopia (blue-blind)
#8F8B7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #86941b;
/* rgb */ color: rgb(134, 148, 27);
/* oklch */ color: oklch(63.4% 0.137 116.5);
Tailwind
colors: {
  custom: {
    50: '#adb364',
    500: '#86941b',
    950: '#000000',
  },
}
SCSS
$custom: #86941b;
$custom-light: #adb364;
$custom-dark: #000000;
JSON
{
  "hex": "#86941b",
  "rgb": {
    "r": 134,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 66.942,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63408,
    "c": 0.13704,
    "h": 116.5
  },
  "luminance": 0.26327
}

Semantic roles & 50–950 ramp

primary
#86941B
secondary
#584BC0
accent
#3CEC50
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #86941B

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

Preview Lab → · Contrast checker → · Palette generator →

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