#9F9A16#9F9A16

#9F9A16 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.9% C 0.138 H 107.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9F9A16
RGBrgb(159, 154, 22)
HSLhsl(58, 76%, 35%)
HSVhsv(58, 86%, 62%)
CMYKcmyk(0%, 3.1%, 86.2%, 37.6%)
CIE-LABlab(62.12, -12.14, 61.73)
CIE-LCHlch(62.12, 62.92, 101.13°)
OKLaboklab(66.93% -0.0409 0.1322)
OKLCHoklch(66.93% 0.138 107.2)
XYZxyz(25.9996, 30.5410, 5.2844)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9A16 #161B9F
analogous
#9F5516 #9F9A16 #5F9F16
triadic
#9F9A16 #169F9A #9A169F
tetradic
#9F9A16 #169F55 #161B9F #9F165F
square
#9F9A16 #169F55 #161B9F #9F165F
split-complementary
#9F9A16 #165F9F #55169F
monochromatic
#333207 #69660F #9F9A16 #D5CE1D #E6E04A

Accessibility & contrast

On white

2.95
#9F9A16 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#9F9A16 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9A16
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9A16#FFFFFF#000000##000000
##9F9A161.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#AA9824
Tritanopia (blue-blind)
#AB8F83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9f9a16;
/* rgb */ color: rgb(159, 154, 22);
/* oklch */ color: oklch(66.9% 0.138 107.2);
Tailwind
colors: {
  custom: {
    50: '#bfb764',
    500: '#9f9a16',
    950: '#000000',
  },
}
SCSS
$custom: #9f9a16;
$custom-light: #bfb764;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9a16",
  "rgb": {
    "r": 159,
    "g": 154,
    "b": 22
  },
  "hsl": {
    "h": 57.81,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66928,
    "c": 0.13834,
    "h": 107.2
  },
  "luminance": 0.3054
}

Semantic roles & 50–950 ramp

primary
#9F9A16
secondary
#4A4EC7
accent
#3CF236
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9A16

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

Preview Lab → · Contrast checker → · Palette generator →

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