#8F8732#8F8732

#8F8732 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.3% C 0.106 H 103.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8F8732
RGBrgb(143, 135, 50)
HSLhsl(55, 48%, 38%)
HSVhsv(55, 65%, 56%)
CMYKcmyk(0%, 5.6%, 65%, 43.9%)
CIE-LABlab(55.48, -7.92, 45.28)
CIE-LCHlch(55.48, 45.97, 99.92°)
OKLaboklab(61.35% -0.0255 0.1029)
OKLCHoklch(61.35% 0.106 103.9)
XYZxyz(20.5682, 23.3986, 6.4499)
Luminance0.2340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8732 #323A8F
analogous
#8F5932 #8F8732 #688F32
triadic
#8F8732 #328F87 #87328F
tetradic
#8F8732 #328F59 #323A8F #8F3268
square
#8F8732 #328F59 #323A8F #8F3268
split-complementary
#8F8732 #32688F #59328F
monochromatic
#343112 #625C22 #8F8732 #BCB242 #CDC56F

Accessibility & contrast

On white

3.70
#8F8732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8F8732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8732
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8732#FFFFFF#000000##000000
##8F87321.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938328
Deuteranopia (green-blind)
#958737
Tritanopia (blue-blind)
#997E75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f8732;
/* rgb */ color: rgb(143, 135, 50);
/* oklch */ color: oklch(61.3% 0.106 103.9);
Tailwind
colors: {
  custom: {
    50: '#b2a96e',
    500: '#8f8732',
    950: '#000000',
  },
}
SCSS
$custom: #8f8732;
$custom-light: #b2a96e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8732",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 50
  },
  "hsl": {
    "h": 54.839,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61349,
    "c": 0.10601,
    "h": 103.9
  },
  "luminance": 0.23398
}

Semantic roles & 50–950 ramp

primary
#8F8732
secondary
#686FB4
accent
#5CD850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F8732

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

Preview Lab → · Contrast checker → · Palette generator →

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