#9F9C16#9F9C16

#9F9C16 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.4% C 0.140 H 108.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9F9C16
RGBrgb(159, 156, 22)
HSLhsl(59, 76%, 35%)
HSVhsv(59, 86%, 62%)
CMYKcmyk(0%, 1.9%, 86.2%, 37.6%)
CIE-LABlab(62.68, -13.19, 62.20)
CIE-LCHlch(62.68, 63.58, 101.98°)
OKLaboklab(67.38% -0.0438 0.1332)
OKLCHoklch(67.38% 0.14 108.2)
XYZxyz(26.3325, 31.2067, 5.3953)
Luminance0.3121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9C16 #16199F
analogous
#9F5716 #9F9C16 #5D9F16
triadic
#9F9C16 #169F9C #9C169F
tetradic
#9F9C16 #169F57 #16199F #9F165D
square
#9F9C16 #169F57 #16199F #9F165D
split-complementary
#9F9C16 #165D9F #57169F
monochromatic
#333307 #69670F #9F9C16 #D5D11D #E6E24A

Accessibility & contrast

On white

2.90
#9F9C16 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#9F9C16 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9C16
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9C16#FFFFFF#000000##000000
##9F9C161.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AC9A24
Tritanopia (blue-blind)
#AB9185
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9f9c16;
/* rgb */ color: rgb(159, 156, 22);
/* oklch */ color: oklch(67.4% 0.140 108.2);
Tailwind
colors: {
  custom: {
    50: '#bfb864',
    500: '#9f9c16',
    950: '#000000',
  },
}
SCSS
$custom: #9f9c16;
$custom-light: #bfb864;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9c16",
  "rgb": {
    "r": 159,
    "g": 156,
    "b": 22
  },
  "hsl": {
    "h": 58.686,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.67378,
    "c": 0.1402,
    "h": 108.2
  },
  "luminance": 0.31206
}

Semantic roles & 50–950 ramp

primary
#9F9C16
secondary
#4A4CC7
accent
#3AF236
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9C16

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

Preview Lab → · Contrast checker → · Palette generator →

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