#8F862B#8F862B

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

Color values

HEX#8F862B
RGBrgb(143, 134, 43)
HSLhsl(55, 54%, 36%)
HSVhsv(55, 70%, 56%)
CMYKcmyk(0%, 6.3%, 69.9%, 43.9%)
CIE-LABlab(55.14, -7.81, 47.98)
CIE-LCHlch(55.14, 48.61, 99.25°)
OKLaboklab(61.06% -0.026 0.1074)
OKLCHoklch(61.06% 0.111 103.6)
XYZxyz(20.2897, 23.0651, 5.6683)
Luminance0.2306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F862B #2B348F
analogous
#8F542B #8F862B #668F2B
triadic
#8F862B #2B8F86 #862B8F
tetradic
#8F862B #2B8F54 #2B348F #8F2B66
square
#8F862B #2B8F54 #2B348F #8F2B66
split-complementary
#8F862B #2B668F #542B8F
monochromatic
#312E0F #605A1D #8F862B #BEB239 #D0C764

Accessibility & contrast

On white

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

On black

5.61
#8F862B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F862B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F862B#FFFFFF#000000##000000
##8F862B1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811E
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#9A7D74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f862b;
/* rgb */ color: rgb(143, 134, 43);
/* oklch */ color: oklch(61.1% 0.111 103.6);
Tailwind
colors: {
  custom: {
    50: '#b3a96a',
    500: '#8f862b',
    950: '#000000',
  },
}
SCSS
$custom: #8f862b;
$custom-light: #b3a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f862b",
  "rgb": {
    "r": 143,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 54.6,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61059,
    "c": 0.11052,
    "h": 103.6
  },
  "luminance": 0.23064
}

Semantic roles & 50–950 ramp

primary
#8F862B
secondary
#5F67B7
accent
#58DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F862B

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

Preview Lab → · Contrast checker → · Palette generator →

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