#9F9E16#9F9E16

#9F9E16 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.8% C 0.142 H 109.2°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9F9E16
RGBrgb(159, 158, 22)
HSLhsl(60, 76%, 35%)
HSVhsv(60, 86%, 62%)
CMYKcmyk(0%, 0.6%, 86.2%, 37.6%)
CIE-LABlab(63.25, -14.24, 62.66)
CIE-LCHlch(63.25, 64.26, 102.80°)
OKLaboklab(67.83% -0.0467 0.1342)
OKLCHoklch(67.83% 0.142 109.2)
XYZxyz(26.6708, 31.8834, 5.5081)
Luminance0.3188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9E16 #16179F
analogous
#9F5916 #9F9E16 #5B9F16
triadic
#9F9E16 #169F9E #9E169F
tetradic
#9F9E16 #169F59 #16179F #9F165B
square
#9F9E16 #169F59 #16179F #9F165B
split-complementary
#9F9E16 #165B9F #59169F
monochromatic
#333307 #69690F #9F9E16 #D5D31D #E6E54A

Accessibility & contrast

On white

2.85
#9F9E16 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#9F9E16 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9E16
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9E16#FFFFFF#000000##000000
##9F9E161.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AD9B25
Tritanopia (blue-blind)
#AB9387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9f9e16;
/* rgb */ color: rgb(159, 158, 22);
/* oklch */ color: oklch(67.8% 0.142 109.2);
Tailwind
colors: {
  custom: {
    50: '#bfba64',
    500: '#9f9e16',
    950: '#000000',
  },
}
SCSS
$custom: #9f9e16;
$custom-light: #bfba64;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9e16",
  "rgb": {
    "r": 159,
    "g": 158,
    "b": 22
  },
  "hsl": {
    "h": 59.562,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.67829,
    "c": 0.1421,
    "h": 109.2
  },
  "luminance": 0.31883
}

Semantic roles & 50–950 ramp

primary
#9F9E16
secondary
#4A4AC7
accent
#37F236
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9E16

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

Preview Lab → · Contrast checker → · Palette generator →

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