#8F861B#8F861B

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

Color values

HEX#8F861B
RGBrgb(143, 134, 27)
HSLhsl(55, 68%, 33%)
HSVhsv(55, 81%, 56%)
CMYKcmyk(0%, 6.3%, 81.1%, 43.9%)
CIE-LABlab(55.04, -8.56, 53.78)
CIE-LCHlch(55.04, 54.46, 99.05°)
OKLaboklab(60.95% -0.0298 0.1166)
OKLCHoklch(60.95% 0.12 104.3)
XYZxyz(20.0515, 22.9698, 4.4141)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F861B #1B248F
analogous
#8F4C1B #8F861B #5E8F1B
triadic
#8F861B #1B8F86 #861B8F
tetradic
#8F861B #1B8F4C #1B248F #8F1B5E
square
#8F861B #1B8F4C #1B248F #8F1B5E
split-complementary
#8F861B #1B5E8F #4C1B8F
monochromatic
#282608 #5C5611 #8F861B #C2B625 #DCD148

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F861B#FFFFFF#000000##000000
##8F861B1.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)
#968624
Tritanopia (blue-blind)
#9A7C72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f861b;
/* rgb */ color: rgb(143, 134, 27);
/* oklch */ color: oklch(61.0% 0.120 104.3);
Tailwind
colors: {
  custom: {
    50: '#b3a862',
    500: '#8f861b',
    950: '#000000',
  },
}
SCSS
$custom: #8f861b;
$custom-light: #b3a862;
$custom-dark: #000000;
JSON
{
  "hex": "#8f861b",
  "rgb": {
    "r": 143,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 55.345,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.6095,
    "c": 0.12036,
    "h": 104.3
  },
  "luminance": 0.22969
}

Semantic roles & 50–950 ramp

primary
#8F861B
secondary
#4851BE
accent
#4AEB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #8F861B

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

Preview Lab → · Contrast checker → · Palette generator →

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