#8F861D#8F861D

#8F861D is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.0% C 0.119 H 104.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8F861D
RGBrgb(143, 134, 29)
HSLhsl(55, 66%, 34%)
HSVhsv(55, 80%, 56%)
CMYKcmyk(0%, 6.3%, 79.7%, 43.9%)
CIE-LABlab(55.05, -8.49, 53.15)
CIE-LCHlch(55.05, 53.82, 99.07°)
OKLaboklab(60.96% -0.0294 0.1157)
OKLCHoklch(60.96% 0.119 104.3)
XYZxyz(20.0755, 22.9794, 4.5402)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F861D #1D268F
analogous
#8F4D1D #8F861D #5F8F1D
triadic
#8F861D #1D8F86 #861D8F
tetradic
#8F861D #1D8F4D #1D268F #8F1D5F
square
#8F861D #1D8F4D #1D268F #8F1D5F
split-complementary
#8F861D #1D5F8F #4D1D8F
monochromatic
#292708 #5C5613 #8F861D #C2B627 #DBCF4C

Accessibility & contrast

On white

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

On black

5.60
#8F861D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F861D
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F861D#FFFFFF#000000##000000
##8F861D1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938101
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#9A7C73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f861d;
/* rgb */ color: rgb(143, 134, 29);
/* oklch */ color: oklch(61.0% 0.119 104.3);
Tailwind
colors: {
  custom: {
    50: '#b3a863',
    500: '#8f861d',
    950: '#000000',
  },
}
SCSS
$custom: #8f861d;
$custom-light: #b3a863;
$custom-dark: #000000;
JSON
{
  "hex": "#8f861d",
  "rgb": {
    "r": 143,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 55.263,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60961,
    "c": 0.11934,
    "h": 104.3
  },
  "luminance": 0.22979
}

Semantic roles & 50–950 ramp

primary
#8F861D
secondary
#4B54BD
accent
#4CE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F861D

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

Preview Lab → · Contrast checker → · Palette generator →

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