#9F9716#9F9716

#9F9716 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.3% C 0.136 H 105.6°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9F9716
RGBrgb(159, 151, 22)
HSLhsl(56, 76%, 35%)
HSVhsv(56, 86%, 62%)
CMYKcmyk(0%, 5%, 86.2%, 37.6%)
CIE-LABlab(61.28, -10.56, 61.04)
CIE-LCHlch(61.28, 61.94, 99.81°)
OKLaboklab(66.26% -0.0365 0.1306)
OKLCHoklch(66.26% 0.136 105.6)
XYZxyz(25.5107, 29.5631, 5.1214)
Luminance0.2956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9716 #161E9F
analogous
#9F5216 #9F9716 #639F16
triadic
#9F9716 #169F97 #97169F
tetradic
#9F9716 #169F52 #161E9F #9F1663
square
#9F9716 #169F52 #161E9F #9F1663
split-complementary
#9F9716 #16639F #52169F
monochromatic
#333107 #69640F #9F9716 #D5CA1D #E6DD4A

Accessibility & contrast

On white

3.04
#9F9716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#9F9716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9716
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9716#FFFFFF#000000##000000
##9F97161.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A89623
Tritanopia (blue-blind)
#AC8C81
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9f9716;
/* rgb */ color: rgb(159, 151, 22);
/* oklch */ color: oklch(66.3% 0.136 105.6);
Tailwind
colors: {
  custom: {
    50: '#bfb563',
    500: '#9f9716',
    950: '#000000',
  },
}
SCSS
$custom: #9f9716;
$custom-light: #bfb563;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9716",
  "rgb": {
    "r": 159,
    "g": 151,
    "b": 22
  },
  "hsl": {
    "h": 56.496,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66256,
    "c": 0.13563,
    "h": 105.6
  },
  "luminance": 0.29562
}

Semantic roles & 50–950 ramp

primary
#9F9716
secondary
#4A51C7
accent
#41F236
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9716

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

Preview Lab → · Contrast checker → · Palette generator →

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