#8F8941#8F8941

#8F8941 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 62.0% C 0.094 H 104.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8F8941
RGBrgb(143, 137, 65)
HSLhsl(55, 38%, 41%)
HSVhsv(55, 55%, 56%)
CMYKcmyk(0%, 4.2%, 54.5%, 43.9%)
CIE-LABlab(56.20, -7.85, 38.89)
CIE-LCHlch(56.20, 39.67, 101.41°)
OKLaboklab(61.97% -0.0236 0.0912)
OKLCHoklch(61.97% 0.094 104.5)
XYZxyz(21.2281, 24.1133, 8.5361)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8941 #41478F
analogous
#8F6241 #8F8941 #6E8F41
triadic
#8F8941 #418F89 #89418F
tetradic
#8F8941 #418F62 #41478F #8F416E
square
#8F8941 #418F62 #41478F #8F416E
split-complementary
#8F8941 #416E8F #62418F
monochromatic
#3B381B #65612E #8F8941 #B4AD59 #C7C284

Accessibility & contrast

On white

3.61
#8F8941 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8F8941 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8941
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8941#FFFFFF#000000##000000
##8F89411.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94853A
Deuteranopia (green-blind)
#968845
Tritanopia (blue-blind)
#988179
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8941;
/* rgb */ color: rgb(143, 137, 65);
/* oklch */ color: oklch(62.0% 0.094 104.5);
Tailwind
colors: {
  custom: {
    50: '#b2ab78',
    500: '#8f8941',
    950: '#000000',
  },
}
SCSS
$custom: #8f8941;
$custom-light: #b2ab78;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8941",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 65
  },
  "hsl": {
    "h": 55.385,
    "s": 37.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61971,
    "c": 0.09421,
    "h": 104.5
  },
  "luminance": 0.24113
}

Semantic roles & 50–950 ramp

primary
#8F8941
secondary
#7A7FB1
accent
#63CD5A
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111009
muted
#807F7B

Preview Lab

Preview with #8F8941

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

Preview Lab → · Contrast checker → · Palette generator →

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