#9FB31A#9FB31A

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

Color values

HEX#9FB31A
RGBrgb(159, 179, 26)
HSLhsl(68, 75%, 40%)
HSVhsv(68, 85%, 70%)
CMYKcmyk(11.2%, 0%, 85.5%, 29.8%)
CIE-LABlab(69.25, -24.73, 66.76)
CIE-LCHlch(69.25, 71.19, 110.33°)
OKLaboklab(72.65% -0.0753 0.1438)
OKLCHoklch(72.65% 0.162 117.7)
XYZxyz(30.6054, 39.6861, 7.0250)
Luminance0.3969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB31A #2E1AB3
analogous
#B37A1A #9FB31A #53B31A
triadic
#9FB31A #1A9FB3 #B31A9F
tetradic
#9FB31A #1AB37A #2E1AB3 #B31A53
square
#9FB31A #1AB37A #2E1AB3 #B31A53
split-complementary
#9FB31A #1A53B3 #7A1AB3
monochromatic
#40480A #707E12 #9FB31A #C8E02A #D6E860

Accessibility & contrast

On white

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

On black

8.94
#9FB31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB31A
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB31A#FFFFFF#000000##000000
##9FB31A1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fb31a;
/* rgb */ color: rgb(159, 179, 26);
/* oklch */ color: oklch(72.6% 0.162 117.7);
Tailwind
colors: {
  custom: {
    50: '#bfc969',
    500: '#9fb31a',
    950: '#000000',
  },
}
SCSS
$custom: #9fb31a;
$custom-light: #bfc969;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb31a",
  "rgb": {
    "r": 159,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 67.843,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.72645,
    "c": 0.16232,
    "h": 117.7
  },
  "luminance": 0.39686
}

Semantic roles & 50–950 ramp

primary
#9FB31A
secondary
#6B5DCC
accent
#37F14F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB31A

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

Preview Lab → · Contrast checker → · Palette generator →

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