#8F8337#8F8337

#8F8337 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.5% C 0.098 H 100.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8F8337
RGBrgb(143, 131, 55)
HSLhsl(52, 44%, 39%)
HSVhsv(52, 62%, 56%)
CMYKcmyk(0%, 8.4%, 61.5%, 43.9%)
CIE-LABlab(54.40, -5.37, 41.76)
CIE-LCHlch(54.40, 42.11, 97.33°)
OKLaboklab(60.5% -0.0176 0.0962)
OKLCHoklch(60.5% 0.098 100.4)
XYZxyz(20.1343, 22.3489, 6.8669)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8337 #37438F
analogous
#8F5737 #8F8337 #6F8F37
triadic
#8F8337 #378F83 #83378F
tetradic
#8F8337 #378F57 #37438F #8F376F
square
#8F8337 #378F57 #37438F #8F376F
split-complementary
#8F8337 #376F8F #57378F
monochromatic
#373215 #635B26 #8F8337 #B9AA4A #CABF76

Accessibility & contrast

On white

3.84
#8F8337 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8F8337 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8337
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8337#FFFFFF#000000##000000
##8F83371.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F2F
Deuteranopia (green-blind)
#92843B
Tritanopia (blue-blind)
#997A72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f8337;
/* rgb */ color: rgb(143, 131, 55);
/* oklch */ color: oklch(60.5% 0.098 100.4);
Tailwind
colors: {
  custom: {
    50: '#b2a671',
    500: '#8f8337',
    950: '#000000',
  },
}
SCSS
$custom: #8f8337;
$custom-light: #b2a671;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8337",
  "rgb": {
    "r": 143,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 51.818,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60502,
    "c": 0.09777,
    "h": 100.4
  },
  "luminance": 0.22348
}

Semantic roles & 50–950 ramp

primary
#8F8337
secondary
#6F78B3
accent
#65D454
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8F8337

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

Preview Lab → · Contrast checker → · Palette generator →

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