#8F861F#8F861F

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

Color values

HEX#8F861F
RGBrgb(143, 134, 31)
HSLhsl(55, 64%, 34%)
HSVhsv(55, 78%, 56%)
CMYKcmyk(0%, 6.3%, 78.3%, 43.9%)
CIE-LABlab(55.06, -8.41, 52.49)
CIE-LCHlch(55.06, 53.16, 99.10°)
OKLaboklab(60.97% -0.029 0.1147)
OKLCHoklch(60.97% 0.118 104.2)
XYZxyz(20.1010, 22.9896, 4.6747)
Luminance0.2299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F861F #1F288F
analogous
#8F4E1F #8F861F #608F1F
triadic
#8F861F #1F8F86 #861F8F
tetradic
#8F861F #1F8F4E #1F288F #8F1F60
square
#8F861F #1F8F4E #1F288F #8F1F60
split-complementary
#8F861F #1F608F #4E1F8F
monochromatic
#2A2809 #5D5714 #8F861F #C1B52A #D9CE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F861F#FFFFFF#000000##000000
##8F861F1.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)
#938106
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#9A7C73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f861f;
/* rgb */ color: rgb(143, 134, 31);
/* oklch */ color: oklch(61.0% 0.118 104.2);
Tailwind
colors: {
  custom: {
    50: '#b3a864',
    500: '#8f861f',
    950: '#000000',
  },
}
SCSS
$custom: #8f861f;
$custom-light: #b3a864;
$custom-dark: #000000;
JSON
{
  "hex": "#8f861f",
  "rgb": {
    "r": 143,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 55.179,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60973,
    "c": 0.11826,
    "h": 104.2
  },
  "luminance": 0.22989
}

Semantic roles & 50–950 ramp

primary
#8F861F
secondary
#4E57BC
accent
#4EE740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F861F

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

Preview Lab → · Contrast checker → · Palette generator →

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