#9FAD31#9FAD31

#9FAD31 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.4% C 0.144 H 115.8°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#9FAD31
RGBrgb(159, 173, 49)
HSLhsl(67, 56%, 44%)
HSVhsv(67, 72%, 68%)
CMYKcmyk(8.1%, 0%, 71.7%, 32.2%)
CIE-LABlab(67.64, -20.84, 58.49)
CIE-LCHlch(67.64, 62.09, 109.61°)
OKLaboklab(71.39% -0.0629 0.1301)
OKLCHoklch(71.39% 0.145 115.8)
XYZxyz(29.7968, 37.4803, 8.5699)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAD31 #3F31AD
analogous
#AD7D31 #9FAD31 #61AD31
triadic
#9FAD31 #319FAD #AD319F
tetradic
#9FAD31 #31AD7D #3F31AD #AD3161
square
#9FAD31 #31AD7D #3F31AD #AD3161
split-complementary
#9FAD31 #3161AD #7D31AD
monochromatic
#474E16 #737D23 #9FAD31 #BFCD4E #D0DA7E

Accessibility & contrast

On white

2.47
#9FAD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#9FAD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAD31
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAD31#FFFFFF#000000##000000
##9FAD311.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41B
Deuteranopia (green-blind)
#B8A63B
Tritanopia (blue-blind)
#A9A395
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9fad31;
/* rgb */ color: rgb(159, 173, 49);
/* oklch */ color: oklch(71.4% 0.144 115.8);
Tailwind
colors: {
  custom: {
    50: '#bfc572',
    500: '#9fad31',
    950: '#000000',
  },
}
SCSS
$custom: #9fad31;
$custom-light: #bfc572;
$custom-dark: #000000;
JSON
{
  "hex": "#9fad31",
  "rgb": {
    "r": 159,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 66.774,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71385,
    "c": 0.1445,
    "h": 115.8
  },
  "luminance": 0.3748
}

Semantic roles & 50–950 ramp

primary
#9FAD31
secondary
#7F77C3
accent
#49DF5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAD31

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

Preview Lab → · Contrast checker → · Palette generator →

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