#8F8341#8F8341

#8F8341 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.6% C 0.088 H 99.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8F8341
RGBrgb(143, 131, 65)
HSLhsl(51, 38%, 41%)
HSVhsv(51, 55%, 56%)
CMYKcmyk(0%, 8.4%, 54.5%, 43.9%)
CIE-LABlab(54.51, -4.55, 36.90)
CIE-LCHlch(54.51, 37.18, 97.03°)
OKLaboklab(60.63% -0.0141 0.0869)
OKLCHoklch(60.63% 0.088 99.2)
XYZxyz(20.3988, 22.4547, 8.2597)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8341 #414D8F
analogous
#8F5C41 #8F8341 #748F41
triadic
#8F8341 #418F83 #83418F
tetradic
#8F8341 #418F5C #414D8F #8F4174
square
#8F8341 #418F5C #414D8F #8F4174
split-complementary
#8F8341 #41748F #5C418F
monochromatic
#3B361B #655C2E #8F8341 #B4A659 #C7BD84

Accessibility & contrast

On white

3.82
#8F8341 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8F8341 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8341
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8341#FFFFFF#000000##000000
##8F83411.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803B
Deuteranopia (green-blind)
#918444
Tritanopia (blue-blind)
#997B74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f8341;
/* rgb */ color: rgb(143, 131, 65);
/* oklch */ color: oklch(60.6% 0.088 99.2);
Tailwind
colors: {
  custom: {
    50: '#b2a677',
    500: '#8f8341',
    950: '#000000',
  },
}
SCSS
$custom: #8f8341;
$custom-light: #b2a677;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8341",
  "rgb": {
    "r": 143,
    "g": 131,
    "b": 65
  },
  "hsl": {
    "h": 50.769,
    "s": 37.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.60626,
    "c": 0.08803,
    "h": 99.2
  },
  "luminance": 0.22454
}

Semantic roles & 50–950 ramp

primary
#8F8341
secondary
#7A83B1
accent
#6CCD5A
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F09
muted
#807F7B

Preview Lab

Preview with #8F8341

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

Preview Lab → · Contrast checker → · Palette generator →

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