#9F9D16#9F9D16

#9F9D16 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.6% C 0.141 H 108.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9F9D16
RGBrgb(159, 157, 22)
HSLhsl(59, 76%, 35%)
HSVhsv(59, 86%, 62%)
CMYKcmyk(0%, 1.3%, 86.2%, 37.6%)
CIE-LABlab(62.96, -13.72, 62.43)
CIE-LCHlch(62.96, 63.92, 102.39°)
OKLaboklab(67.6% -0.0453 0.1337)
OKLCHoklch(67.6% 0.141 108.7)
XYZxyz(26.5010, 31.5437, 5.4515)
Luminance0.3154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9D16 #16189F
analogous
#9F5816 #9F9D16 #5C9F16
triadic
#9F9D16 #169F9D #9D169F
tetradic
#9F9D16 #169F58 #16189F #9F165C
square
#9F9D16 #169F58 #16189F #9F165C
split-complementary
#9F9D16 #165C9F #58169F
monochromatic
#333307 #69680F #9F9D16 #D5D21D #E6E44A

Accessibility & contrast

On white

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

On black

7.31
#9F9D16 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9D16
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9D16#FFFFFF#000000##000000
##9F9D161.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AD9A25
Tritanopia (blue-blind)
#AB9286
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9f9d16;
/* rgb */ color: rgb(159, 157, 22);
/* oklch */ color: oklch(67.6% 0.141 108.7);
Tailwind
colors: {
  custom: {
    50: '#bfb964',
    500: '#9f9d16',
    950: '#000000',
  },
}
SCSS
$custom: #9f9d16;
$custom-light: #bfb964;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9d16",
  "rgb": {
    "r": 159,
    "g": 157,
    "b": 22
  },
  "hsl": {
    "h": 59.124,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.67603,
    "c": 0.14114,
    "h": 108.7
  },
  "luminance": 0.31543
}

Semantic roles & 50–950 ramp

primary
#9F9D16
secondary
#4A4BC7
accent
#38F236
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9D16

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

Preview Lab → · Contrast checker → · Palette generator →

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