#9F9526#9F9526

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

Color values

HEX#9F9526
RGBrgb(159, 149, 38)
HSLhsl(55, 61%, 39%)
HSVhsv(55, 76%, 62%)
CMYKcmyk(0%, 6.3%, 76.1%, 37.6%)
CIE-LABlab(60.79, -8.94, 55.89)
CIE-LCHlch(60.79, 56.60, 99.09°)
OKLaboklab(65.89% -0.0307 0.1226)
OKLCHoklch(65.89% 0.126 104)
XYZxyz(25.3965, 29.0068, 6.0945)
Luminance0.2901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9526 #26309F
analogous
#9F5826 #9F9526 #6C9F26
triadic
#9F9526 #269F95 #95269F
tetradic
#9F9526 #269F58 #26309F #9F266C
square
#9F9526 #269F58 #26309F #9F266C
split-complementary
#9F9526 #266C9F #58269F
monochromatic
#3C380E #6E671A #9F9526 #CEC234 #DAD165

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9526#FFFFFF#000000##000000
##9F95261.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)
#A3900F
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#AB8A80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f9526;
/* rgb */ color: rgb(159, 149, 38);
/* oklch */ color: oklch(65.9% 0.126 104.0);
Tailwind
colors: {
  custom: {
    50: '#bfb369',
    500: '#9f9526',
    950: '#000000',
  },
}
SCSS
$custom: #9f9526;
$custom-light: #bfb369;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9526",
  "rgb": {
    "r": 159,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 55.041,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65891,
    "c": 0.12639,
    "h": 104
  },
  "luminance": 0.29006
}

Semantic roles & 50–950 ramp

primary
#9F9526
secondary
#6169C0
accent
#51E543
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9526

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

Preview Lab → · Contrast checker → · Palette generator →

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