#9F9D25#9F9D25

#9F9D25 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.7% C 0.135 H 108.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9F9D25
RGBrgb(159, 157, 37)
HSLhsl(59, 62%, 38%)
HSVhsv(59, 77%, 62%)
CMYKcmyk(0%, 1.3%, 76.7%, 37.6%)
CIE-LABlab(63.03, -13.21, 58.30)
CIE-LCHlch(63.03, 59.78, 102.77°)
OKLaboklab(67.67% -0.0427 0.1276)
OKLCHoklch(67.67% 0.135 108.5)
XYZxyz(26.6900, 31.6193, 6.4471)
Luminance0.3162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9D25 #25279F
analogous
#9F6025 #9F9D25 #649F25
triadic
#9F9D25 #259F9D #9D259F
tetradic
#9F9D25 #259F60 #25279F #9F2564
square
#9F9D25 #259F60 #25279F #9F2564
split-complementary
#9F9D25 #25649F #60259F
monochromatic
#3C3B0E #6D6C19 #9F9D25 #CFCD32 #DBD964

Accessibility & contrast

On white

2.87
#9F9D25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#9F9D25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9D25
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9D25#FFFFFF#000000##000000
##9F9D251.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9606
Deuteranopia (green-blind)
#AC9A2F
Tritanopia (blue-blind)
#AB9287
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9f9d25;
/* rgb */ color: rgb(159, 157, 37);
/* oklch */ color: oklch(67.7% 0.135 108.5);
Tailwind
colors: {
  custom: {
    50: '#bfb96a',
    500: '#9f9d25',
    950: '#000000',
  },
}
SCSS
$custom: #9f9d25;
$custom-light: #bfb96a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9d25",
  "rgb": {
    "r": 159,
    "g": 157,
    "b": 37
  },
  "hsl": {
    "h": 59.016,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.67674,
    "c": 0.13452,
    "h": 108.5
  },
  "luminance": 0.31618
}

Semantic roles & 50–950 ramp

primary
#9F9D25
secondary
#5F61C0
accent
#45E542
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9D25

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

Preview Lab → · Contrast checker → · Palette generator →

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