#8F8031#8F8031

#8F8031 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.8% C 0.100 H 98.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8F8031
RGBrgb(143, 128, 49)
HSLhsl(50, 49%, 38%)
HSVhsv(50, 66%, 56%)
CMYKcmyk(0%, 10.5%, 65.7%, 43.9%)
CIE-LABlab(53.49, -4.13, 43.61)
CIE-LCHlch(53.49, 43.81, 95.41°)
OKLaboklab(59.77% -0.0148 0.0992)
OKLCHoklch(59.77% 0.1 98.5)
XYZxyz(19.6021, 21.5006, 6.0227)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8031 #31408F
analogous
#8F5131 #8F8031 #6F8F31
triadic
#8F8031 #318F80 #80318F
tetradic
#8F8031 #318F51 #31408F #8F316F
square
#8F8031 #318F51 #31408F #8F316F
split-complementary
#8F8031 #316F8F #51318F
monochromatic
#342E12 #615721 #8F8031 #BDA941 #CDBE6D

Accessibility & contrast

On white

3.96
#8F8031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8F8031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8031
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8031#FFFFFF#000000##000000
##8F80311.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D28
Deuteranopia (green-blind)
#908235
Tritanopia (blue-blind)
#9A776F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f8031;
/* rgb */ color: rgb(143, 128, 49);
/* oklch */ color: oklch(59.8% 0.100 98.5);
Tailwind
colors: {
  custom: {
    50: '#b3a46d',
    500: '#8f8031',
    950: '#000000',
  },
}
SCSS
$custom: #8f8031;
$custom-light: #b3a46d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8031",
  "rgb": {
    "r": 143,
    "g": 128,
    "b": 49
  },
  "hsl": {
    "h": 50.426,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59768,
    "c": 0.10031,
    "h": 98.5
  },
  "luminance": 0.215
}

Semantic roles & 50–950 ramp

primary
#8F8031
secondary
#6774B5
accent
#65D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F8031

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

Preview Lab → · Contrast checker → · Palette generator →

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