#9F9F16#9F9F16

#9F9F16 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.1% C 0.143 H 109.7°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9F9F16
RGBrgb(159, 159, 22)
HSLhsl(60, 76%, 35%)
HSVhsv(60, 86%, 62%)
CMYKcmyk(0%, 0%, 86.2%, 37.6%)
CIE-LABlab(63.53, -14.76, 62.90)
CIE-LCHlch(63.53, 64.60, 103.20°)
OKLaboklab(68.05% -0.0481 0.1347)
OKLCHoklch(68.05% 0.143 109.7)
XYZxyz(26.8421, 32.2260, 5.5652)
Luminance0.3222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9F16 #16169F
analogous
#9F5A16 #9F9F16 #5A9F16
triadic
#9F9F16 #169F9F #9F169F
tetradic
#9F9F16 #169F5A #16169F #9F165A
square
#9F9F16 #169F5A #16169F #9F165A
split-complementary
#9F9F16 #165A9F #5A169F
monochromatic
#333307 #69690F #9F9F16 #D5D51D #E6E64A

Accessibility & contrast

On white

2.82
#9F9F16 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#9F9F16 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9F16
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9F16#FFFFFF#000000##000000
##9F9F161.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AE9C25
Tritanopia (blue-blind)
#AB9487
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9f9f16;
/* rgb */ color: rgb(159, 159, 22);
/* oklch */ color: oklch(68.1% 0.143 109.7);
Tailwind
colors: {
  custom: {
    50: '#bfbb64',
    500: '#9f9f16',
    950: '#000000',
  },
}
SCSS
$custom: #9f9f16;
$custom-light: #bfbb64;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9f16",
  "rgb": {
    "r": 159,
    "g": 159,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.68055,
    "c": 0.14305,
    "h": 109.7
  },
  "luminance": 0.32225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F9F16

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

Preview Lab → · Contrast checker → · Palette generator →

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