#9FB316#9FB316

#9FB316 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.6% C 0.164 H 117.6°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#9FB316
RGBrgb(159, 179, 22)
HSLhsl(68, 78%, 39%)
HSVhsv(68, 88%, 70%)
CMYKcmyk(11.2%, 0%, 87.7%, 29.8%)
CIE-LABlab(69.23, -24.83, 67.58)
CIE-LCHlch(69.23, 72.00, 110.18°)
OKLaboklab(72.63% -0.0758 0.145)
OKLCHoklch(72.63% 0.164 117.6)
XYZxyz(30.5638, 39.6694, 6.8058)
Luminance0.3967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB316 #2A16B3
analogous
#B37816 #9FB316 #51B316
triadic
#9FB316 #169FB3 #B3169F
tetradic
#9FB316 #16B378 #2A16B3 #B31651
square
#9FB316 #16B378 #2A16B3 #B31651
split-complementary
#9FB316 #1651B3 #7816B3
monochromatic
#3E4609 #6F7C0F #9FB316 #CBE422 #D8EB59

Accessibility & contrast

On white

2.35
#9FB316 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#9FB316 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB316
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB316#FFFFFF#000000##000000
##9FB3161.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA2A
Tritanopia (blue-blind)
#A9A898
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb316;
/* rgb */ color: rgb(159, 179, 22);
/* oklch */ color: oklch(72.6% 0.164 117.6);
Tailwind
colors: {
  custom: {
    50: '#c0c967',
    500: '#9fb316',
    950: '#000000',
  },
}
SCSS
$custom: #9fb316;
$custom-light: #c0c967;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb316",
  "rgb": {
    "r": 159,
    "g": 179,
    "b": 22
  },
  "hsl": {
    "h": 67.643,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.72632,
    "c": 0.16361,
    "h": 117.6
  },
  "luminance": 0.39669
}

Semantic roles & 50–950 ramp

primary
#9FB316
secondary
#6657CE
accent
#33F54C
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB316

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

Preview Lab → · Contrast checker → · Palette generator →

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