#8F8531#8F8531

#8F8531 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.9% C 0.105 H 102.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8F8531
RGBrgb(143, 133, 49)
HSLhsl(54, 49%, 38%)
HSVhsv(54, 66%, 56%)
CMYKcmyk(0%, 7%, 65.7%, 43.9%)
CIE-LABlab(54.90, -6.89, 45.12)
CIE-LCHlch(54.90, 45.64, 98.69°)
OKLaboklab(60.89% -0.0227 0.1024)
OKLCHoklch(60.89% 0.105 102.5)
XYZxyz(20.2704, 22.8373, 6.2454)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8531 #313B8F
analogous
#8F5631 #8F8531 #6A8F31
triadic
#8F8531 #318F85 #85318F
tetradic
#8F8531 #318F56 #313B8F #8F316A
square
#8F8531 #318F56 #313B8F #8F316A
split-complementary
#8F8531 #316A8F #56318F
monochromatic
#343012 #615B21 #8F8531 #BDAF41 #CDC36D

Accessibility & contrast

On white

3.77
#8F8531 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8F8531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8531
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8531#FFFFFF#000000##000000
##8F85311.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918127
Deuteranopia (green-blind)
#948536
Tritanopia (blue-blind)
#9A7C73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f8531;
/* rgb */ color: rgb(143, 133, 49);
/* oklch */ color: oklch(60.9% 0.105 102.5);
Tailwind
colors: {
  custom: {
    50: '#b2a86d',
    500: '#8f8531',
    950: '#000000',
  },
}
SCSS
$custom: #8f8531;
$custom-light: #b2a86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8531",
  "rgb": {
    "r": 143,
    "g": 133,
    "b": 49
  },
  "hsl": {
    "h": 53.617,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60888,
    "c": 0.10488,
    "h": 102.5
  },
  "luminance": 0.22836
}

Semantic roles & 50–950 ramp

primary
#8F8531
secondary
#676FB5
accent
#5ED94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F8531

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

Preview Lab → · Contrast checker → · Palette generator →

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