#8F862E#8F862E

#8F862E is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.1% C 0.108 H 103.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8F862E
RGBrgb(143, 134, 46)
HSLhsl(54, 51%, 37%)
HSVhsv(54, 68%, 56%)
CMYKcmyk(0%, 6.3%, 67.8%, 43.9%)
CIE-LABlab(55.16, -7.63, 46.72)
CIE-LCHlch(55.16, 47.34, 99.28°)
OKLaboklab(61.09% -0.0252 0.1053)
OKLCHoklch(61.09% 0.108 103.5)
XYZxyz(20.3467, 23.0879, 5.9689)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F862E #2E378F
analogous
#8F562E #8F862E #688F2E
triadic
#8F862E #2E8F86 #862E8F
tetradic
#8F862E #2E8F56 #2E378F #8F2E68
square
#8F862E #2E8F56 #2E378F #8F2E68
split-complementary
#8F862E #2E688F #562E8F
monochromatic
#322F10 #615B1F #8F862E #BDB13D #CFC569

Accessibility & contrast

On white

3.74
#8F862E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8F862E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F862E
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F862E#FFFFFF#000000##000000
##8F862E1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928222
Deuteranopia (green-blind)
#958633
Tritanopia (blue-blind)
#9A7D74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f862e;
/* rgb */ color: rgb(143, 134, 46);
/* oklch */ color: oklch(61.1% 0.108 103.5);
Tailwind
colors: {
  custom: {
    50: '#b3a96c',
    500: '#8f862e',
    950: '#000000',
  },
}
SCSS
$custom: #8f862e;
$custom-light: #b3a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f862e",
  "rgb": {
    "r": 143,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 54.433,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61085,
    "c": 0.10825,
    "h": 103.5
  },
  "luminance": 0.23087
}

Semantic roles & 50–950 ramp

primary
#8F862E
secondary
#636BB6
accent
#5ADB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F862E

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

Preview Lab → · Contrast checker → · Palette generator →

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