#9F9616#9F9616

#9F9616 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.0% C 0.135 H 105.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9F9616
RGBrgb(159, 150, 22)
HSLhsl(56, 76%, 35%)
HSVhsv(56, 86%, 62%)
CMYKcmyk(0%, 5.7%, 86.2%, 37.6%)
CIE-LABlab(61.00, -10.03, 60.81)
CIE-LCHlch(61.00, 61.63, 99.36°)
OKLaboklab(66.03% -0.035 0.1301)
OKLCHoklch(66.03% 0.135 105.1)
XYZxyz(25.3504, 29.2426, 5.0680)
Luminance0.2924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9616 #161F9F
analogous
#9F5116 #9F9616 #649F16
triadic
#9F9616 #169F96 #96169F
tetradic
#9F9616 #169F51 #161F9F #9F1664
square
#9F9616 #169F51 #161F9F #9F1664
split-complementary
#9F9616 #16649F #51169F
monochromatic
#333107 #69630F #9F9616 #D5C91D #E6DC4A

Accessibility & contrast

On white

3.07
#9F9616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#9F9616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9616
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9616#FFFFFF#000000##000000
##9F96161.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A79523
Tritanopia (blue-blind)
#AC8B80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f9616;
/* rgb */ color: rgb(159, 150, 22);
/* oklch */ color: oklch(66.0% 0.135 105.1);
Tailwind
colors: {
  custom: {
    50: '#c0b463',
    500: '#9f9616',
    950: '#000000',
  },
}
SCSS
$custom: #9f9616;
$custom-light: #c0b463;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9616",
  "rgb": {
    "r": 159,
    "g": 150,
    "b": 22
  },
  "hsl": {
    "h": 56.058,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66033,
    "c": 0.13475,
    "h": 105.1
  },
  "luminance": 0.29242
}

Semantic roles & 50–950 ramp

primary
#9F9616
secondary
#4A52C7
accent
#42F236
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9616

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

Preview Lab → · Contrast checker → · Palette generator →

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