#8F9528#8F9528

#8F9528 is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.5% C 0.128 H 112.6°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8F9528
RGBrgb(143, 149, 40)
HSLhsl(63, 58%, 37%)
HSVhsv(63, 73%, 58%)
CMYKcmyk(4%, 0%, 73.2%, 41.6%)
CIE-LABlab(59.42, -15.99, 53.39)
CIE-LCHlch(59.42, 55.73, 106.67°)
OKLaboklab(64.47% -0.0493 0.1183)
OKLCHoklch(64.47% 0.128 112.6)
XYZxyz(22.4588, 27.4882, 6.1298)
Luminance0.2749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9528 #2E2895
analogous
#956528 #8F9528 #589528
triadic
#8F9528 #288F95 #95288F
tetradic
#8F9528 #289565 #2E2895 #952858
square
#8F9528 #289565 #2E2895 #952858
split-complementary
#8F9528 #285895 #652895
monochromatic
#32350E #61651B #8F9528 #BDC535 #CFD562

Accessibility & contrast

On white

3.23
#8F9528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#8F9528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9528
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9528#FFFFFF#000000##000000
##8F95281.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E14
Deuteranopia (green-blind)
#A19031
Tritanopia (blue-blind)
#998C80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f9528;
/* rgb */ color: rgb(143, 149, 40);
/* oklch */ color: oklch(64.5% 0.128 112.6);
Tailwind
colors: {
  custom: {
    50: '#b3b46a',
    500: '#8f9528',
    950: '#000000',
  },
}
SCSS
$custom: #8f9528;
$custom-light: #b3b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9528",
  "rgb": {
    "r": 143,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 63.303,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64472,
    "c": 0.12816,
    "h": 112.6
  },
  "luminance": 0.27488
}

Semantic roles & 50–950 ramp

primary
#8F9528
secondary
#635EBB
accent
#47E14F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9528

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

Preview Lab → · Contrast checker → · Palette generator →

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