#9F9516#9F9516

#9F9516 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.8% C 0.134 H 104.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9F9516
RGBrgb(159, 149, 22)
HSLhsl(56, 76%, 35%)
HSVhsv(56, 86%, 62%)
CMYKcmyk(0%, 6.3%, 86.2%, 37.6%)
CIE-LABlab(60.72, -9.49, 60.58)
CIE-LCHlch(60.72, 61.32, 98.91°)
OKLaboklab(65.81% -0.0335 0.1296)
OKLCHoklch(65.81% 0.134 104.5)
XYZxyz(25.1915, 28.9248, 5.0150)
Luminance0.2892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9516 #16209F
analogous
#9F5016 #9F9516 #659F16
triadic
#9F9516 #169F95 #95169F
tetradic
#9F9516 #169F50 #16209F #9F1665
square
#9F9516 #169F50 #16209F #9F1665
split-complementary
#9F9516 #16659F #50169F
monochromatic
#333007 #69630F #9F9516 #D5C71D #E6DA4A

Accessibility & contrast

On white

3.10
#9F9516 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#9F9516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9516
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9516#FFFFFF#000000##000000
##9F95161.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A79523
Tritanopia (blue-blind)
#AC8A7F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9f9516;
/* rgb */ color: rgb(159, 149, 22);
/* oklch */ color: oklch(65.8% 0.134 104.5);
Tailwind
colors: {
  custom: {
    50: '#c0b363',
    500: '#9f9516',
    950: '#000000',
  },
}
SCSS
$custom: #9f9516;
$custom-light: #c0b363;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9516",
  "rgb": {
    "r": 159,
    "g": 149,
    "b": 22
  },
  "hsl": {
    "h": 55.62,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6581,
    "c": 0.13388,
    "h": 104.5
  },
  "luminance": 0.28924
}

Semantic roles & 50–950 ramp

primary
#9F9516
secondary
#4A53C7
accent
#43F236
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9516

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

Preview Lab → · Contrast checker → · Palette generator →

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