#8F861A#8F861A

#8F861A is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.9% C 0.121 H 104.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8F861A
RGBrgb(143, 134, 26)
HSLhsl(55, 69%, 33%)
HSVhsv(55, 82%, 56%)
CMYKcmyk(0%, 6.3%, 81.8%, 43.9%)
CIE-LABlab(55.04, -8.60, 54.08)
CIE-LCHlch(55.04, 54.76, 99.03°)
OKLaboklab(60.95% -0.0299 0.1171)
OKLCHoklch(60.95% 0.121 104.3)
XYZxyz(20.0402, 22.9653, 4.3542)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F861A #1A238F
analogous
#8F4C1A #8F861A #5D8F1A
triadic
#8F861A #1A8F86 #861A8F
tetradic
#8F861A #1A8F4C #1A238F #8F1A5D
square
#8F861A #1A8F4C #1A238F #8F1A5D
split-complementary
#8F861A #1A5D8F #4C1A8F
monochromatic
#272507 #5B5511 #8F861A #C3B723 #DDD246

Accessibility & contrast

On white

3.75
#8F861A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8F861A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F861A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F861A#FFFFFF#000000##000000
##8F861A1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#9A7C72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f861a;
/* rgb */ color: rgb(143, 134, 26);
/* oklch */ color: oklch(60.9% 0.121 104.3);
Tailwind
colors: {
  custom: {
    50: '#b4a862',
    500: '#8f861a',
    950: '#000000',
  },
}
SCSS
$custom: #8f861a;
$custom-light: #b4a862;
$custom-dark: #000000;
JSON
{
  "hex": "#8f861a",
  "rgb": {
    "r": 143,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 55.385,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60945,
    "c": 0.12085,
    "h": 104.3
  },
  "luminance": 0.22964
}

Semantic roles & 50–950 ramp

primary
#8F861A
secondary
#464FBF
accent
#49EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #8F861A

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

Preview Lab → · Contrast checker → · Palette generator →

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