#9F9B16#9F9B16

#9F9B16 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.2% C 0.139 H 107.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9F9B16
RGBrgb(159, 155, 22)
HSLhsl(58, 76%, 35%)
HSVhsv(58, 86%, 62%)
CMYKcmyk(0%, 2.5%, 86.2%, 37.6%)
CIE-LABlab(62.40, -12.67, 61.97)
CIE-LCHlch(62.40, 63.25, 101.55°)
OKLaboklab(67.15% -0.0424 0.1327)
OKLCHoklch(67.15% 0.139 107.7)
XYZxyz(26.1654, 30.8725, 5.3396)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9B16 #161A9F
analogous
#9F5616 #9F9B16 #5E9F16
triadic
#9F9B16 #169F9B #9B169F
tetradic
#9F9B16 #169F56 #161A9F #9F165E
square
#9F9B16 #169F56 #161A9F #9F165E
split-complementary
#9F9B16 #165E9F #56169F
monochromatic
#333207 #69670F #9F9B16 #D5CF1D #E6E14A

Accessibility & contrast

On white

2.93
#9F9B16 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#9F9B16 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9B16
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9B16#FFFFFF#000000##000000
##9F9B161.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#AB9924
Tritanopia (blue-blind)
#AB9084
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9f9b16;
/* rgb */ color: rgb(159, 155, 22);
/* oklch */ color: oklch(67.2% 0.139 107.7);
Tailwind
colors: {
  custom: {
    50: '#bfb864',
    500: '#9f9b16',
    950: '#000000',
  },
}
SCSS
$custom: #9f9b16;
$custom-light: #bfb864;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9b16",
  "rgb": {
    "r": 159,
    "g": 155,
    "b": 22
  },
  "hsl": {
    "h": 58.248,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.67153,
    "c": 0.13927,
    "h": 107.7
  },
  "luminance": 0.30872
}

Semantic roles & 50–950 ramp

primary
#9F9B16
secondary
#4A4DC7
accent
#3BF236
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9B16

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

Preview Lab → · Contrast checker → · Palette generator →

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