#9F9525#9F9525

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

Color values

HEX#9F9525
RGBrgb(159, 149, 37)
HSLhsl(55, 62%, 38%)
HSVhsv(55, 77%, 62%)
CMYKcmyk(0%, 6.3%, 76.7%, 37.6%)
CIE-LABlab(60.78, -8.98, 56.23)
CIE-LCHlch(60.78, 56.94, 99.07°)
OKLaboklab(65.88% -0.0309 0.1231)
OKLCHoklch(65.88% 0.127 104.1)
XYZxyz(25.3806, 29.0004, 6.0106)
Luminance0.2900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9525 #252F9F
analogous
#9F5825 #9F9525 #6C9F25
triadic
#9F9525 #259F95 #95259F
tetradic
#9F9525 #259F58 #252F9F #9F256C
square
#9F9525 #259F58 #252F9F #9F256C
split-complementary
#9F9525 #256C9F #58259F
monochromatic
#3C380E #6D6619 #9F9525 #CFC232 #DBD164

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9525#FFFFFF#000000##000000
##9F95251.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)
#A3900C
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#AB8A80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f9525;
/* rgb */ color: rgb(159, 149, 37);
/* oklch */ color: oklch(65.9% 0.127 104.1);
Tailwind
colors: {
  custom: {
    50: '#bfb369',
    500: '#9f9525',
    950: '#000000',
  },
}
SCSS
$custom: #9f9525;
$custom-light: #bfb369;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9525",
  "rgb": {
    "r": 159,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 55.082,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65884,
    "c": 0.12695,
    "h": 104.1
  },
  "luminance": 0.28999
}

Semantic roles & 50–950 ramp

primary
#9F9525
secondary
#5F67C0
accent
#50E542
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9525

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

Preview Lab → · Contrast checker → · Palette generator →

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