#8F871E#8F871E

#8F871E is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.2% C 0.120 H 104.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8F871E
RGBrgb(143, 135, 30)
HSLhsl(56, 65%, 34%)
HSVhsv(56, 79%, 56%)
CMYKcmyk(0%, 5.6%, 79%, 43.9%)
CIE-LABlab(55.34, -8.99, 53.08)
CIE-LCHlch(55.34, 53.84, 99.61°)
OKLaboklab(61.19% -0.0307 0.1157)
OKLCHoklch(61.19% 0.12 104.9)
XYZxyz(20.2269, 23.2621, 4.6526)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F871E #1E268F
analogous
#8F4F1E #8F871E #5F8F1E
triadic
#8F871E #1E8F87 #871E8F
tetradic
#8F871E #1E8F4F #1E268F #8F1E5F
square
#8F871E #1E8F4F #1E268F #8F1E5F
split-complementary
#8F871E #1E5F8F #4F1E8F
monochromatic
#2A2709 #5C5713 #8F871E #C2B729 #DAD04E

Accessibility & contrast

On white

3.72
#8F871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8F871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F871E
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F871E#FFFFFF#000000##000000
##8F871E1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948203
Deuteranopia (green-blind)
#968726
Tritanopia (blue-blind)
#9A7D73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f871e;
/* rgb */ color: rgb(143, 135, 30);
/* oklch */ color: oklch(61.2% 0.120 104.9);
Tailwind
colors: {
  custom: {
    50: '#b3a963',
    500: '#8f871e',
    950: '#000000',
  },
}
SCSS
$custom: #8f871e;
$custom-light: #b3a963;
$custom-dark: #000000;
JSON
{
  "hex": "#8f871e",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 55.752,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61194,
    "c": 0.11973,
    "h": 104.9
  },
  "luminance": 0.23261
}

Semantic roles & 50–950 ramp

primary
#8F871E
secondary
#4C54BC
accent
#4BE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F871E

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

Preview Lab → · Contrast checker → · Palette generator →

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