#9F9528#9F9528

#9F9528 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.9% C 0.125 H 104.0°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9F9528
RGBrgb(159, 149, 40)
HSLhsl(55, 60%, 39%)
HSVhsv(55, 75%, 62%)
CMYKcmyk(0%, 6.3%, 74.8%, 37.6%)
CIE-LABlab(60.80, -8.85, 55.18)
CIE-LCHlch(60.80, 55.89, 99.11°)
OKLaboklab(65.9% -0.0302 0.1215)
OKLCHoklch(65.9% 0.125 104)
XYZxyz(25.4296, 29.0201, 6.2690)
Luminance0.2902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9528 #28329F
analogous
#9F5A28 #9F9528 #6E9F28
triadic
#9F9528 #289F95 #95289F
tetradic
#9F9528 #289F5A #28329F #9F286E
square
#9F9528 #289F5A #28329F #9F286E
split-complementary
#9F9528 #286E9F #5A289F
monochromatic
#3D390F #6E671C #9F9528 #CDC037 #D9D068

Accessibility & contrast

On white

3.09
#9F9528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#9F9528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9528
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9528#FFFFFF#000000##000000
##9F95281.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39013
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#AB8A80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f9528;
/* rgb */ color: rgb(159, 149, 40);
/* oklch */ color: oklch(65.9% 0.125 104.0);
Tailwind
colors: {
  custom: {
    50: '#bfb36a',
    500: '#9f9528',
    950: '#000000',
  },
}
SCSS
$custom: #9f9528;
$custom-light: #bfb36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9528",
  "rgb": {
    "r": 159,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 54.958,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65904,
    "c": 0.1252,
    "h": 104
  },
  "luminance": 0.29019
}

Semantic roles & 50–950 ramp

primary
#9F9528
secondary
#646BBF
accent
#52E345
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9528

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

Preview Lab → · Contrast checker → · Palette generator →

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