#8F8328#8F8328

#8F8328 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.4% C 0.110 H 101.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8F8328
RGBrgb(143, 131, 40)
HSLhsl(53, 56%, 36%)
HSVhsv(53, 72%, 56%)
CMYKcmyk(0%, 8.4%, 72%, 43.9%)
CIE-LABlab(54.27, -6.33, 48.34)
CIE-LCHlch(54.27, 48.75, 97.46°)
OKLaboklab(60.36% -0.0222 0.1076)
OKLCHoklch(60.36% 0.11 101.6)
XYZxyz(19.8279, 22.2263, 5.2528)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8328 #28348F
analogous
#8F4F28 #8F8328 #678F28
triadic
#8F8328 #288F83 #83288F
tetradic
#8F8328 #288F4F #28348F #8F2867
square
#8F8328 #288F4F #28348F #8F2867
split-complementary
#8F8328 #28678F #4F288F
monochromatic
#2F2B0D #5F571B #8F8328 #BFAF35 #D2C55F

Accessibility & contrast

On white

3.86
#8F8328 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8F8328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8328
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8328#FFFFFF#000000##000000
##8F83281.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1A
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#9A7971
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f8328;
/* rgb */ color: rgb(143, 131, 40);
/* oklch */ color: oklch(60.4% 0.110 101.6);
Tailwind
colors: {
  custom: {
    50: '#b3a668',
    500: '#8f8328',
    950: '#000000',
  },
}
SCSS
$custom: #8f8328;
$custom-light: #b3a668;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8328",
  "rgb": {
    "r": 143,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 53.01,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60358,
    "c": 0.10989,
    "h": 101.6
  },
  "luminance": 0.22225
}

Semantic roles & 50–950 ramp

primary
#8F8328
secondary
#5B66B8
accent
#5AE048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8328

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

Preview Lab → · Contrast checker → · Palette generator →

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