#9FA016#9FA016

#9FA016 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.144 H 110.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9FA016
RGBrgb(159, 160, 22)
HSLhsl(60, 76%, 36%)
HSVhsv(60, 86%, 63%)
CMYKcmyk(0.6%, 0%, 86.3%, 37.3%)
CIE-LABlab(63.81, -15.27, 63.13)
CIE-LCHlch(63.81, 64.95, 103.60°)
OKLaboklab(68.28% -0.0496 0.1352)
OKLCHoklch(68.28% 0.144 110.1)
XYZxyz(27.0148, 32.5713, 5.6227)
Luminance0.3257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA016 #1716A0
analogous
#A05C16 #9FA016 #5AA016
triadic
#9FA016 #169FA0 #A0169F
tetradic
#9FA016 #16A05C #1716A0 #A0165A
square
#9FA016 #16A05C #1716A0 #A0165A
split-complementary
#9FA016 #165AA0 #5C16A0
monochromatic
#343407 #6A6A0F #9FA016 #D4D61D #E5E64A

Accessibility & contrast

On white

2.79
#9FA016 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#9FA016 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA016
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA016#FFFFFF#000000##000000
##9FA0161.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AF9C25
Tritanopia (blue-blind)
#AB9588
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa016;
/* rgb */ color: rgb(159, 160, 22);
/* oklch */ color: oklch(68.3% 0.144 110.1);
Tailwind
colors: {
  custom: {
    50: '#bfbb64',
    500: '#9fa016',
    950: '#000000',
  },
}
SCSS
$custom: #9fa016;
$custom-light: #bfbb64;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa016",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 22
  },
  "hsl": {
    "h": 60.435,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.68281,
    "c": 0.14402,
    "h": 110.1
  },
  "luminance": 0.3257
}

Semantic roles & 50–950 ramp

primary
#9FA016
secondary
#4B4AC8
accent
#35F237
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9FA016

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

Preview Lab → · Contrast checker → · Palette generator →

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