#8D861B#8D861B

#8D861B is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.121 H 105.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8D861B
RGBrgb(141, 134, 27)
HSLhsl(56, 68%, 33%)
HSVhsv(56, 81%, 55%)
CMYKcmyk(0%, 5%, 80.9%, 44.7%)
CIE-LABlab(54.86, -9.48, 53.55)
CIE-LCHlch(54.86, 54.38, 100.04°)
OKLaboklab(60.76% -0.0322 0.1162)
OKLCHoklch(60.76% 0.121 105.5)
XYZxyz(19.7083, 22.7928, 4.3980)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D861B #1B228D
analogous
#8D4D1B #8D861B #5B8D1B
triadic
#8D861B #1B8D86 #861B8D
tetradic
#8D861B #1B8D4D #1B228D #8D1B5B
square
#8D861B #1B8D4D #1B228D #8D1B5B
split-complementary
#8D861B #1B5B8D #4D1B8D
monochromatic
#262407 #5A5511 #8D861B #C0B725 #DCD347

Accessibility & contrast

On white

3.78
#8D861B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8D861B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D861B
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D861B#FFFFFF#000000##000000
##8D861B1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#958524
Tritanopia (blue-blind)
#987C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d861b;
/* rgb */ color: rgb(141, 134, 27);
/* oklch */ color: oklch(60.8% 0.121 105.5);
Tailwind
colors: {
  custom: {
    50: '#b2a862',
    500: '#8d861b',
    950: '#000000',
  },
}
SCSS
$custom: #8d861b;
$custom-light: #b2a862;
$custom-dark: #000000;
JSON
{
  "hex": "#8d861b",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 56.316,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.6076,
    "c": 0.12061,
    "h": 105.5
  },
  "luminance": 0.22792
}

Semantic roles & 50–950 ramp

primary
#8D861B
secondary
#464EBD
accent
#48EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D861B

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

Preview Lab → · Contrast checker → · Palette generator →

#8D861B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva