#9FB416#9FB416

#9FB416 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 72.9% C 0.165 H 117.9°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#9FB416
RGBrgb(159, 180, 22)
HSLhsl(68, 78%, 40%)
HSVhsv(68, 88%, 71%)
CMYKcmyk(11.7%, 0%, 87.8%, 29.4%)
CIE-LABlab(69.52, -25.32, 67.82)
CIE-LCHlch(69.52, 72.39, 110.47°)
OKLaboklab(72.86% -0.0772 0.1455)
OKLCHoklch(72.86% 0.165 117.9)
XYZxyz(30.7650, 40.0717, 6.8728)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB416 #2B16B4
analogous
#B47A16 #9FB416 #50B416
triadic
#9FB416 #169FB4 #B4169F
tetradic
#9FB416 #16B47A #2B16B4 #B41650
square
#9FB416 #16B47A #2B16B4 #B41650
split-complementary
#9FB416 #1650B4 #7A16B4
monochromatic
#3F4709 #6F7D0F #9FB416 #CAE423 #D7EB5A

Accessibility & contrast

On white

2.33
#9FB416 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#9FB416 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB416
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB416#FFFFFF#000000##000000
##9FB4161.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAA2A
Tritanopia (blue-blind)
#A9A999
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fb416;
/* rgb */ color: rgb(159, 180, 22);
/* oklch */ color: oklch(72.9% 0.165 117.9);
Tailwind
colors: {
  custom: {
    50: '#c0ca68',
    500: '#9fb416',
    950: '#000000',
  },
}
SCSS
$custom: #9fb416;
$custom-light: #c0ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb416",
  "rgb": {
    "r": 159,
    "g": 180,
    "b": 22
  },
  "hsl": {
    "h": 67.975,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.72863,
    "c": 0.16468,
    "h": 117.9
  },
  "luminance": 0.40071
}

Semantic roles & 50–950 ramp

primary
#9FB416
secondary
#6758CE
accent
#33F54D
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB416

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

Preview Lab → · Contrast checker → · Palette generator →

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