#9FB431#9FB431

#9FB431 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.153 H 118.4°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#9FB431
RGBrgb(159, 180, 49)
HSLhsl(70, 57%, 45%)
HSVhsv(70, 73%, 71%)
CMYKcmyk(11.7%, 0%, 72.8%, 29.4%)
CIE-LABlab(69.64, -24.31, 60.43)
CIE-LCHlch(69.64, 65.14, 111.91°)
OKLaboklab(72.99% -0.0725 0.1342)
OKLCHoklch(72.99% 0.153 118.4)
XYZxyz(31.1744, 40.2355, 9.0291)
Luminance0.4023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB431 #4631B4
analogous
#B48731 #9FB431 #5EB431
triadic
#9FB431 #319FB4 #B4319F
tetradic
#9FB431 #31B487 #4631B4 #B4315E
square
#9FB431 #31B487 #4631B4 #B4315E
split-complementary
#9FB431 #315EB4 #8731B4
monochromatic
#4A5417 #758424 #9FB431 #BCD052 #CFDD82

Accessibility & contrast

On white

2.32
#9FB431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#9FB431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB431
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB431#FFFFFF#000000##000000
##9FB4311.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA18
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#A9AA9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fb431;
/* rgb */ color: rgb(159, 180, 49);
/* oklch */ color: oklch(73.0% 0.153 118.4);
Tailwind
colors: {
  custom: {
    50: '#bfca72',
    500: '#9fb431',
    950: '#000000',
  },
}
SCSS
$custom: #9fb431;
$custom-light: #bfca72;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb431",
  "rgb": {
    "r": 159,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 69.618,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72993,
    "c": 0.15253,
    "h": 118.4
  },
  "luminance": 0.40235
}

Semantic roles & 50–950 ramp

primary
#9FB431
secondary
#877BC6
accent
#47E060
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB431

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

Preview Lab → · Contrast checker → · Palette generator →

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