#8F8549#8F8549

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

Color values

HEX#8F8549
RGBrgb(143, 133, 73)
HSLhsl(51, 32%, 42%)
HSVhsv(51, 49%, 56%)
CMYKcmyk(0%, 7%, 49%, 43.9%)
CIE-LABlab(55.17, -4.89, 33.51)
CIE-LCHlch(55.17, 33.87, 98.31°)
OKLaboklab(61.19% -0.0142 0.0802)
OKLCHoklch(61.19% 0.081 100)
XYZxyz(20.9184, 23.0965, 9.6582)
Luminance0.2310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8549 #49538F
analogous
#8F6249 #8F8549 #768F49
triadic
#8F8549 #498F85 #85498F
tetradic
#8F8549 #498F62 #49538F #8F4976
square
#8F8549 #498F62 #49538F #8F4976
split-complementary
#8F8549 #49768F #62498F
monochromatic
#3E3A20 #665F34 #8F8549 #B0A665 #C5BD8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8549#FFFFFF#000000##000000
##8F85491.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)
#8F8244
Deuteranopia (green-blind)
#92864C
Tritanopia (blue-blind)
#987D77
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f8549;
/* rgb */ color: rgb(143, 133, 73);
/* oklch */ color: oklch(61.2% 0.081 100.0);
Tailwind
colors: {
  custom: {
    50: '#b1a87d',
    500: '#8f8549',
    950: '#000000',
  },
}
SCSS
$custom: #8f8549;
$custom-light: #b1a87d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8549",
  "rgb": {
    "r": 143,
    "g": 133,
    "b": 73
  },
  "hsl": {
    "h": 51.429,
    "s": 32.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.61186,
    "c": 0.08144,
    "h": 100
  },
  "luminance": 0.23096
}

Semantic roles & 50–950 ramp

primary
#8F8549
secondary
#838AB1
accent
#6EC95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#110F0A
muted
#807F7C

Preview Lab

Preview with #8F8549

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

Preview Lab → · Contrast checker → · Palette generator →

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